12 lines
200 B
TypeScript
12 lines
200 B
TypeScript
export interface ITypedRequest {
|
|
method: string;
|
|
request: object;
|
|
response: object;
|
|
}
|
|
|
|
export interface IBroadCastEvent<T> {
|
|
broadcastMessage: string;
|
|
uniqueEventId: string;
|
|
payload: T;
|
|
}
|