Merge pull request #13041 from meteor/update-types-for-ddp

Added call async type for ddp
This commit is contained in:
Gabriel Grubba
2024-02-29 15:21:07 +01:00
committed by GitHub

View File

@@ -4,6 +4,7 @@ export namespace DDP {
interface DDPStatic {
subscribe(name: string, ...rest: any[]): Meteor.SubscriptionHandle;
call(method: string, ...parameters: any[]): any;
callAsync(method: string, ...parameters: any[]): Promise<any>;
apply(method: string, ...parameters: any[]): any;
methods(IMeteorMethodsDictionary: any): any;
status(): DDPStatus;