mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
typings: use Symbol.dispose and Symbol.asyncDispose in types
PR-URL: https://github.com/nodejs/node/pull/50123 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
This commit is contained in:
committed by
GitHub
parent
d1ef6aa2db
commit
9df864ddeb
4
typings/primordials.d.ts
vendored
4
typings/primordials.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user