typedrequest-interfaces/ts/index.ts
2019-11-10 16:35:43 +01:00

12 lines
188 B
TypeScript

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