Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSConfig JSON: Add preserve module type and ES2022 lib types #874

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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