typedrequest-interfaces/ts/index.ts

12 lines
200 B
TypeScript
Raw Normal View History

2019-08-22 13:40:10 +00:00
export interface ITypedRequest {
method: string;
request: object;
response: object;
2019-08-23 14:57:45 +00:00
}
2019-09-24 16:40:37 +00:00
export interface IBroadCastEvent<T> {
broadcastMessage: string;
uniqueEventId: string;
payload: T;
}