mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #13041 from meteor/update-types-for-ddp
Added call async type for ddp
This commit is contained in:
1
packages/ddp/ddp.d.ts
vendored
1
packages/ddp/ddp.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user