From 8d969f055c08cfe3cf84a866bcad030b8825773b Mon Sep 17 00:00:00 2001 From: Gabriel Grubba <70247653+Grubba27@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:17:01 -0300 Subject: [PATCH] Added call async type for ddp --- packages/ddp/ddp.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ddp/ddp.d.ts b/packages/ddp/ddp.d.ts index 199adb3d55..33e6f23bcf 100644 --- a/packages/ddp/ddp.d.ts +++ b/packages/ddp/ddp.d.ts @@ -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; apply(method: string, ...parameters: any[]): any; methods(IMeteorMethodsDictionary: any): any; status(): DDPStatus;