1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

fix(ext/node): don't throw when calling PerformanceObserver.observe (#25036)

This commit is contained in:
Luca Casonato 2024-08-14 13:03:53 +02:00 committed by GitHub
parent e2faf50375
commit 2f82873a88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,11 +10,12 @@ import {
} from "ext:deno_web/15_performance.js"; } from "ext:deno_web/15_performance.js";
class PerformanceObserver { class PerformanceObserver {
static supportedEntryTypes: string[] = [];
observe() { observe() {
notImplemented("PerformanceObserver.observe"); // todo(lucacasonato): actually implement this
} }
disconnect() { disconnect() {
notImplemented("PerformanceObserver.disconnect"); // todo(lucacasonato): actually implement this
} }
} }