From 742ccdcea3331b8ffdd3e363995aa3532f9d6e60 Mon Sep 17 00:00:00 2001 From: Niklas Mollenhauer Date: Tue, 10 Oct 2023 17:46:18 +0200 Subject: [PATCH] typings: use `Symbol.dispose` and `Symbol.asyncDispose` in types --- typings/primordials.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/primordials.d.ts b/typings/primordials.d.ts index 006ecace1ead1c..ffce093458f2b5 100644 --- a/typings/primordials.d.ts +++ b/typings/primordials.d.ts @@ -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