Skip to content

Commit

Permalink
TsConfigJson: Add preserve module type and ES2022 lib types (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakewilson authored Apr 29, 2024
1 parent 1fd3ad7 commit 7096613
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions source/tsconfig-json.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ declare namespace TsConfigJson {
| 'ESNext'
| 'Node16'
| 'NodeNext'
| 'Preserve'
| 'None'
// Lowercase alternatives
| 'commonjs'
Expand All @@ -32,6 +33,7 @@ declare namespace TsConfigJson {
| 'esnext'
| 'node16'
| 'nodenext'
| 'preserve'
| 'none';

export type NewLine =
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 7096613

Please sign in to comment.