summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/perf_hooks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/perf_hooks.ts')
-rw-r--r--ext/node/polyfills/perf_hooks.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/ext/node/polyfills/perf_hooks.ts b/ext/node/polyfills/perf_hooks.ts
index 44ab88f98..b58321ffa 100644
--- a/ext/node/polyfills/perf_hooks.ts
+++ b/ext/node/polyfills/perf_hooks.ts
@@ -9,8 +9,15 @@ import {
PerformanceEntry,
} from "ext:deno_web/15_performance.js";
-// FIXME(bartlomieju)
-const PerformanceObserver = undefined;
+class PerformanceObserver {
+ observe() {
+ notImplemented("PerformanceObserver.observe");
+ }
+ disconnect() {
+ notImplemented("PerformanceObserver.disconnect");
+ }
+}
+
const constants = {};
const performance: