Skip to content

Commit

Permalink
typings: use Symbol.dispose and Symbol.asyncDispose in types
Browse files Browse the repository at this point in the history
PR-URL: #50123
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Debadree Chatterjee <[email protected]>
  • Loading branch information
nikeee authored Oct 14, 2023
1 parent d1ef6aa commit 9df864d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/primordials.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ declare namespace primordials {
export const SymbolFor: typeof Symbol.for
export const SymbolKeyFor: typeof Symbol.keyFor
export const SymbolAsyncIterator: typeof Symbol.asyncIterator
export const SymbolDispose: symbol // TODO(MoLow): use typeof Symbol.dispose when it's available
export const SymbolAsyncDispose: symbol // TODO(MoLow): use typeof Symbol.asyncDispose when it's available
export const SymbolDispose: typeof Symbol.dispose
export const SymbolAsyncDispose: typeof Symbol.asyncDispose
export const SymbolHasInstance: typeof Symbol.hasInstance
export const SymbolIsConcatSpreadable: typeof Symbol.isConcatSpreadable
export const SymbolIterator: typeof Symbol.iterator
Expand Down

0 comments on commit 9df864d

Please sign in to comment.