From c630a538d51cbd8aa007c3e098c38587d0fbd1eb 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 fbc36572ae4386..58131a4a0a931f 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -917,6 +917,20 @@ Returns a `object` that is the JSON representation of the ## Class: `perf_hooks.PerformanceObserver` + + +### `PerformanceObserver.supportedEntryTypes` + + + +* {string\[]} + +Get supported types. + ### `new PerformanceObserver(callback)`