From 116a2f35dd2b3a1666a934de993145b00ba3371d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chiciuc=20Nicu=C8=99or?= Date: Tue, 1 Oct 2019 19:46:21 +0300 Subject: [PATCH] Make the 'bindEnvironment()' function generic. (#38752) --- types/meteor/globals/meteor.d.ts | 2 +- types/meteor/meteor.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 **/