From 7096613740abad9ce7ec5e5a5fbfba14ac84f64a Mon Sep 17 00:00:00 2001 From: Blake Wilson Date: Mon, 29 Apr 2024 02:06:10 -0500 Subject: [PATCH] `TsConfigJson`: Add `preserve` module type and `ES2022` lib types (#874) --- source/tsconfig-json.d.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source/tsconfig-json.d.ts b/source/tsconfig-json.d.ts index b15f2713f..710a03f1a 100644 --- a/source/tsconfig-json.d.ts +++ b/source/tsconfig-json.d.ts @@ -19,6 +19,7 @@ declare namespace TsConfigJson { | 'ESNext' | 'Node16' | 'NodeNext' + | 'Preserve' | 'None' // Lowercase alternatives | 'commonjs' @@ -32,6 +33,7 @@ declare namespace TsConfigJson { | 'esnext' | 'node16' | 'nodenext' + | 'preserve' | 'none'; export type NewLine = @@ -113,6 +115,14 @@ declare namespace TsConfigJson { | 'ES2021.Promise' | 'ES2021.String' | 'ES2021.WeakRef' + | 'ES2022' + | 'ES2022.Array' + | 'ES2022.Error' + | 'ES2022.Intl' + | 'ES2022.Object' + | 'ES2022.SharedMemory' + | 'ES2022.String' + | 'ES2022.RegExp' | 'ESNext' | 'ESNext.Array' | 'ESNext.AsyncIterable' @@ -172,6 +182,14 @@ declare namespace TsConfigJson { | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' + | 'es2022' + | 'es2022.array' + | 'es2022.error' + | 'es2022.intl' + | 'es2022.object' + | 'es2022.sharedmemory' + | 'es2022.string' + | 'es2022.regexp' | 'esnext' | 'esnext.array' | 'esnext.asynciterable'