diff options
Diffstat (limited to 'ext/node/polyfills/perf_hooks.ts')
-rw-r--r-- | ext/node/polyfills/perf_hooks.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/polyfills/perf_hooks.ts b/ext/node/polyfills/perf_hooks.ts index ac74c10f8..30c50d363 100644 --- a/ext/node/polyfills/perf_hooks.ts +++ b/ext/node/polyfills/perf_hooks.ts @@ -22,6 +22,8 @@ const performance: timerify: any; // deno-lint-ignore no-explicit-any timeOrigin: any; + // deno-lint-ignore no-explicit-any + markResourceTiming: any; } = { clearMarks: (markName: string) => shimPerformance.clearMarks(markName), eventLoopUtilization: () => @@ -50,6 +52,7 @@ const performance: timerify: () => notImplemented("timerify from performance"), // deno-lint-ignore no-explicit-any timeOrigin: (shimPerformance as any).timeOrigin, + markResourceTiming: () => {}, // @ts-ignore waiting on update in `deno`, but currently this is // a circular dependency toJSON: () => shimPerformance.toJSON(), |