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