meteor: Fix incorrect return type Tracker.nonreactive (#46647)

* Meteor tracker.nonreactive fix return type to match return of passed function

* meteor tracker.nonreactive update globals
This commit is contained in:
Kevin Newman 2020-08-12 18:30:00 -04:00 committed by GitHub
parent fa8a29a57f
commit 0359fd8b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ declare module Tracker {
function flush(): void;
function nonreactive(func: Function): void;
function nonreactive<T>(func: () => T): T;
function onInvalidate(callback: Function): void;
}

View File

@ -32,7 +32,7 @@ declare module "meteor/tracker" {
function flush(): void;
function nonreactive(func: Function): void;
function nonreactive<T>(func: () => T): T;
function onInvalidate(callback: Function): void;
}