Skip to content

Commit

Permalink
fix: add Deno.refTimer & Deno.unrefTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
laktek committed May 27, 2023
1 parent 182074b commit 72764e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/sb_core/js/denoOverrides.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as net from "ext:deno_net/01_net.js";
import * as tls from "ext:deno_net/02_tls.js";
import * as timers from "ext:deno_web/02_timers.js";
import * as permissions from "ext:sb_core_main_js/js/permissions.js";
import {
errors
Expand Down Expand Up @@ -83,7 +84,9 @@ const denoOverrides = {
Permissions: permissions.Permissions,
PermissionStatus: permissions.PermissionStatus,
errors: errors,
refTimer: timers.refTimer,
unrefTimer: timers.unrefTimer,
...fsVars
}

export { denoOverrides, fsVars };
export { denoOverrides, fsVars };

0 comments on commit 72764e4

Please sign in to comment.