mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
lib: add TypedArray constructors to primordials
PR-URL: https://github.com/nodejs/node/pull/30740 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
5ee105c9af
commit
1092e0b6fb
1 file changed
+11
@@ -104,10 +104,17 @@ primordials.SafePromise = makeSafe(
|
||||
'Array',
|
||||
'ArrayBuffer',
|
||||
'BigInt',
|
||||
'BigInt64Array',
|
||||
'BigUint64Array',
|
||||
'Boolean',
|
||||
'Date',
|
||||
'Error',
|
||||
'Float32Array',
|
||||
'Float64Array',
|
||||
'Function',
|
||||
'Int16Array',
|
||||
'Int32Array',
|
||||
'Int8Array',
|
||||
'Map',
|
||||
'Number',
|
||||
'Object',
|
||||
@@ -115,6 +122,10 @@ primordials.SafePromise = makeSafe(
|
||||
'Set',
|
||||
'String',
|
||||
'Symbol',
|
||||
'Uint16Array',
|
||||
'Uint32Array',
|
||||
'Uint8Array',
|
||||
'Uint8ClampedArray',
|
||||
'WeakMap',
|
||||
'WeakSet',
|
||||
].forEach((name) => {
|
||||
|
||||
Reference in new issue
Block a user