Skip to content

Commit 9df864d

Browse files
authored
typings: use Symbol.dispose and Symbol.asyncDispose in types
PR-URL: #50123 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
1 parent d1ef6aa commit 9df864d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typings/primordials.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ declare namespace primordials {
427427
export const SymbolFor: typeof Symbol.for
428428
export const SymbolKeyFor: typeof Symbol.keyFor
429429
export const SymbolAsyncIterator: typeof Symbol.asyncIterator
430-
export const SymbolDispose: symbol // TODO(MoLow): use typeof Symbol.dispose when it's available
431-
export const SymbolAsyncDispose: symbol // TODO(MoLow): use typeof Symbol.asyncDispose when it's available
430+
export const SymbolDispose: typeof Symbol.dispose
431+
export const SymbolAsyncDispose: typeof Symbol.asyncDispose
432432
export const SymbolHasInstance: typeof Symbol.hasInstance
433433
export const SymbolIsConcatSpreadable: typeof Symbol.isConcatSpreadable
434434
export const SymbolIterator: typeof Symbol.iterator

0 commit comments

Comments
 (0)