From 9f5e8d1e29f18b28169ed2c6584d80cc9170486f Mon Sep 17 00:00:00 2001 From: theanarkh Date: Thu, 12 Jan 2023 03:58:41 +0800 Subject: [PATCH] doc: add PerformanceObserver.supportedEntryTypes to doc PR-URL: https://github.com/nodejs/node/pull/45962 Reviewed-By: Luigi Pinca --- 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)`