Skip to content

Commit e34733d

Browse files
committed
Fixup
1 parent 173e528 commit e34733d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/perf/observe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class PerformanceObserver {
260260
} = { ...options };
261261
if (entryTypes === undefined && type === undefined)
262262
throw new ERR_MISSING_ARGS('options.entryTypes', 'options.type');
263-
if (entryTypes != null && (type != null || buffered))
263+
if (entryTypes != null && (type != null || buffered != null))
264264
throw new ERR_INVALID_ARG_VALUE('options.entryTypes',
265265
entryTypes,
266266
'options.entryTypes can not set with ' +

0 commit comments

Comments
 (0)