fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-21 01:55:49 +01:00
parent 2e13632fec
commit e33ae24f17
2 changed files with 18 additions and 1 deletions

View File

@ -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'
}

View File

@ -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;
};
}