Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9df864d

Browse filesBrowse 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
Copy full SHA for 9df864d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎typings/primordials.d.ts‎

Copy file name to clipboardExpand all lines: typings/primordials.d.ts
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.