From d1233758866724aaec1166e3130b8bb9ada5deec Mon Sep 17 00:00:00 2001 From: Deadly0 Date: Fri, 8 Feb 2019 14:58:50 +0300 Subject: [PATCH] Fix for global scope. --- types/meteor/globals/meteor.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/meteor/globals/meteor.d.ts b/types/meteor/globals/meteor.d.ts index 63f60df310..36757b98d1 100644 --- a/types/meteor/globals/meteor.d.ts +++ b/types/meteor/globals/meteor.d.ts @@ -203,7 +203,7 @@ declare module Meteor { function onConnection(callback: Function): void; /** Connection **/ - function publish(name: string, func: Function): void; + function publish(name: string, func: (this: Subscription, ...args: any[]) => void): void; function _debug(...args: any[]): void; }