File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/database/src/core/util Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -618,11 +618,12 @@ export const setTimeoutNonBlocking = function (
618
618
time : number
619
619
) : number | object {
620
620
const timeout : number | object = setTimeout ( fn , time ) ;
621
- // @ts -ignore Deno and unrefTimer are only defined in Deno environments.
622
621
// Note: at the time of this comment, unrefTimer is under the unstable set of APIs. Run with --unstable to enable the API.
623
622
if (
624
623
typeof timeout === 'number' &&
624
+ // @ts -ignore Is only defined in Deno environments.
625
625
typeof Deno !== 'undefined' &&
626
+ // @ts -ignore Deno and unrefTimer are only defined in Deno environments.
626
627
Deno [ 'unrefTimer' ]
627
628
) {
628
629
// @ts -ignore Deno and unrefTimer are only defined in Deno environments.
You can’t perform that action at this time.
0 commit comments