fix(core): update
This commit is contained in:
parent
2e13632fec
commit
e33ae24f17
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@api.global/typedrequest-interfaces',
|
||||
version: '3.0.3',
|
||||
version: '3.0.4',
|
||||
description: 'interfaces for making typed requests'
|
||||
}
|
||||
|
17
ts/index.ts
17
ts/index.ts
@ -75,3 +75,20 @@ export interface ITag {
|
||||
}
|
||||
|
||||
export type implementsTag<T, U extends T> = {};
|
||||
|
||||
export interface IStreamRequest extends implementsTR<
|
||||
ITypedRequest,
|
||||
IStreamRequest
|
||||
> {
|
||||
method: '##VirtualStream##';
|
||||
request: {
|
||||
streamId: string;
|
||||
streamChunk: any;
|
||||
close: boolean;
|
||||
};
|
||||
response: {
|
||||
streamId: string;
|
||||
streamChunk: any;
|
||||
close: boolean;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user