typedrequest-interfaces/ts/index.ts
2019-09-24 18:40:37 +02:00

12 lines
200 B
TypeScript

export interface ITypedRequest {
method: string;
request: object;
response: object;
}
export interface IBroadCastEvent<T> {
broadcastMessage: string;
uniqueEventId: string;
payload: T;
}