diff --git a/types/meteor/globals/meteor.d.ts b/types/meteor/globals/meteor.d.ts index d26a028eba..dd824ec0da 100644 --- a/types/meteor/globals/meteor.d.ts +++ b/types/meteor/globals/meteor.d.ts @@ -112,7 +112,7 @@ declare module Meteor { function wrapAsync(func: Function, context?: Object): any; - function bindEnvironment(func: Function): any; + function bindEnvironment(func: TFunc): TFunc; /** utils **/ /** Pub/Sub **/ diff --git a/types/meteor/meteor.d.ts b/types/meteor/meteor.d.ts index 1c31203d82..9b11d819e4 100644 --- a/types/meteor/meteor.d.ts +++ b/types/meteor/meteor.d.ts @@ -117,7 +117,7 @@ declare module "meteor/meteor" { function wrapAsync(func: Function, context?: Object): any; - function bindEnvironment(func: Function): any; + function bindEnvironment(func: TFunc): TFunc; /** utils **/ /** Pub/Sub **/