From 41e9023414576ecbef8e6dd56774dfdab79f3758 Mon Sep 17 00:00:00 2001 From: theanarkh Date: Sat, 24 Dec 2022 16:21:34 +0800 Subject: [PATCH] doc: add PerformanceObserver.supportedEntryTypes to doc --- doc/api/perf_hooks.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index f99758a0e75275..1c18395662f171 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -1179,6 +1179,20 @@ Returns a `object` that is the JSON representation of the ## Class: `PerformanceObserver` + + +### `PerformanceObserver.supportedEntryTypes` + + + +* {string\[]} + +Get supported types. + ### `new PerformanceObserver(callback)`