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

This commit is contained in:
Chiciuc Nicușor
2019-10-01 19:46:21 +03:00
committed by Ryan Cavanaugh
parent 7f3cd68ef3
commit 116a2f35dd
2 changed files with 2 additions and 2 deletions

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 **/

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 **/