Make the 'bindEnvironment()' function generic. (#38752)

This commit is contained in:
Chiciuc Nicușor
2019-10-01 09:46:21 -07:00
committed by Ryan Cavanaugh
parent 7f3cd68ef3
commit 116a2f35dd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ declare module Meteor {
function wrapAsync(func: Function, context?: Object): any;
function bindEnvironment(func: Function): any;
function bindEnvironment<TFunc extends Function>(func: TFunc): TFunc;
/** utils **/
/** Pub/Sub **/
+1 -1
View File
@@ -117,7 +117,7 @@ declare module "meteor/meteor" {
function wrapAsync(func: Function, context?: Object): any;
function bindEnvironment(func: Function): any;
function bindEnvironment<TFunc extends Function>(func: TFunc): TFunc;
/** utils **/
/** Pub/Sub **/