Skip to content

Instantly share code, notes, and snippets.

@Stronhold
Created February 10, 2019 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stronhold/2f4ba19a16ee46dcbbbade0c9e7d365b to your computer and use it in GitHub Desktop.
Save Stronhold/2f4ba19a16ee46dcbbbade0c9e7d365b to your computer and use it in GitHub Desktop.
import { MessageTypeEnum } from "./message-type.enum";
export interface BaseMessage<T> {
type: MessageTypeEnum;
data: T;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment