doc: add PerformanceObserver.supportedEntryTypes to doc

PR-URL: https://github.com/nodejs/node/pull/45962
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
theanarkh
2023-01-12 03:58:41 +08:00
committed by GitHub
parent 20359cc563
commit b39c3f6fbe

View File

@@ -1179,6 +1179,20 @@ Returns a `object` that is the JSON representation of the
## Class: `PerformanceObserver`
<!-- YAML
added: v8.5.0
-->
### `PerformanceObserver.supportedEntryTypes`
<!-- YAML
added: v16.0.0
-->
* {string\[]}
Get supported types.
### `new PerformanceObserver(callback)`
<!-- YAML