File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ const {
117117 StringPrototypeToLowerCase,
118118 StringPrototypeTrim,
119119 StringPrototypeValueOf,
120+ // TODO for when Node supports SuppressedError
120121 // SuppressedError,
121122 // SuppressedErrorPrototype,
122123 SymbolIterator,
@@ -658,6 +659,7 @@ const wellKnownPrototypes = new SafeMap()
658659 . set ( EvalErrorPrototype , { name : 'EvalError' , constructor : EvalError } )
659660 . set ( RangeErrorPrototype , { name : 'RangeError' , constructor : RangeError } )
660661 . set ( ReferenceErrorPrototype , { name : 'ReferenceError' , constructor : ReferenceError } )
662+ // TODO for when Node supports SuppressedError
661663 // .set(SuppressedErrorPrototype, { name: 'SuppressedError', constructor: SuppressedError })
662664 . set ( SyntaxErrorPrototype , { name : 'SyntaxError' , constructor : SyntaxError } )
663665 . set ( TypeErrorPrototype , { name : 'TypeError' , constructor : TypeError } )
Original file line number Diff line number Diff line change @@ -428,6 +428,7 @@ declare namespace primordials {
428428 export const StringPrototypeToWellFormed : UncurryThis < typeof String . prototype . toWellFormed >
429429 export const StringPrototypeValueOf : UncurryThis < typeof String . prototype . valueOf >
430430 export const StringPrototypeReplaceAll : UncurryThis < typeof String . prototype . replaceAll >
431+ // TODO for when Node supports SuppressedError
431432 // export import SuppressedError = globalThis.SuppressedError;
432433 // export const SuppressedErrorPrototype: typeof SuppressedError.prototype;
433434 export import Symbol = globalThis . Symbol ;
You can’t perform that action at this time.
0 commit comments