smartsocket/ts/interfaces/tag.ts

7 lines
113 B
TypeScript
Raw Normal View History

2021-01-28 01:31:42 +00:00
export interface ITag<T = any> {
2021-01-28 01:30:27 +00:00
id: string;
payload: T;
}
2021-01-28 01:31:42 +00:00
export type TTagStore = { [key: string]: ITag };