Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update TypeScript to 5.0 RC (#6570)
- Loading branch information
1 parent
7fe41ff
commit 36ef0e1
Showing
35 changed files
with
349 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// THIS CODE WAS AUTOMATICALLY GENERATED | ||
// DO NOT EDIT THIS CODE BY HAND | ||
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: | ||
// npx nx generate-lib @typescript-eslint/scope-manager | ||
|
||
import type { ImplicitLibVariableOptions } from '../variable'; | ||
import { TYPE } from './base-config'; | ||
|
||
export const decorators_legacy = { | ||
ClassDecorator: TYPE, | ||
PropertyDecorator: TYPE, | ||
MethodDecorator: TYPE, | ||
ParameterDecorator: TYPE, | ||
} as Record<string, ImplicitLibVariableOptions>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// THIS CODE WAS AUTOMATICALLY GENERATED | ||
// DO NOT EDIT THIS CODE BY HAND | ||
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: | ||
// npx nx generate-lib @typescript-eslint/scope-manager | ||
|
||
import type { ImplicitLibVariableOptions } from '../variable'; | ||
import { TYPE } from './base-config'; | ||
|
||
export const decorators = { | ||
ClassMemberDecoratorContext: TYPE, | ||
DecoratorContext: TYPE, | ||
ClassDecoratorContext: TYPE, | ||
ClassMethodDecoratorContext: TYPE, | ||
ClassGetterDecoratorContext: TYPE, | ||
ClassSetterDecoratorContext: TYPE, | ||
ClassAccessorDecoratorContext: TYPE, | ||
ClassAccessorDecoratorTarget: TYPE, | ||
ClassAccessorDecoratorResult: TYPE, | ||
ClassFieldDecoratorContext: TYPE, | ||
} as Record<string, ImplicitLibVariableOptions>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// THIS CODE WAS AUTOMATICALLY GENERATED | ||
// DO NOT EDIT THIS CODE BY HAND | ||
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: | ||
// npx nx generate-lib @typescript-eslint/scope-manager | ||
|
||
import type { ImplicitLibVariableOptions } from '../variable'; | ||
import { TYPE } from './base-config'; | ||
|
||
export const es2022_regexp = { | ||
RegExpMatchArray: TYPE, | ||
RegExpExecArray: TYPE, | ||
RegExpIndicesArray: TYPE, | ||
RegExp: TYPE, | ||
} as Record<string, ImplicitLibVariableOptions>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// THIS CODE WAS AUTOMATICALLY GENERATED | ||
// DO NOT EDIT THIS CODE BY HAND | ||
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: | ||
// npx nx generate-lib @typescript-eslint/scope-manager | ||
|
||
import type { ImplicitLibVariableOptions } from '../variable'; | ||
import { TYPE } from './base-config'; | ||
|
||
export const es2023_array = { | ||
Array: TYPE, | ||
ReadonlyArray: TYPE, | ||
Int8Array: TYPE, | ||
Uint8Array: TYPE, | ||
Uint8ClampedArray: TYPE, | ||
Int16Array: TYPE, | ||
Uint16Array: TYPE, | ||
Int32Array: TYPE, | ||
Uint32Array: TYPE, | ||
Float32Array: TYPE, | ||
Float64Array: TYPE, | ||
BigInt64Array: TYPE, | ||
BigUint64Array: TYPE, | ||
} as Record<string, ImplicitLibVariableOptions>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// THIS CODE WAS AUTOMATICALLY GENERATED | ||
// DO NOT EDIT THIS CODE BY HAND | ||
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: | ||
// npx nx generate-lib @typescript-eslint/scope-manager | ||
|
||
import type { ImplicitLibVariableOptions } from '../variable'; | ||
import { dom } from './dom'; | ||
import { dom_iterable } from './dom.iterable'; | ||
import { es2023 } from './es2023'; | ||
import { scripthost } from './scripthost'; | ||
import { webworker_importscripts } from './webworker.importscripts'; | ||
|
||
export const es2023_full = { | ||
...es2023, | ||
...dom, | ||
...webworker_importscripts, | ||
...scripthost, | ||
...dom_iterable, | ||
} as Record<string, ImplicitLibVariableOptions>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// THIS CODE WAS AUTOMATICALLY GENERATED | ||
// DO NOT EDIT THIS CODE BY HAND | ||
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: | ||
// npx nx generate-lib @typescript-eslint/scope-manager | ||
|
||
import type { ImplicitLibVariableOptions } from '../variable'; | ||
import { es2022 } from './es2022'; | ||
import { es2023_array } from './es2023.array'; | ||
|
||
export const es2023 = { | ||
...es2022, | ||
...es2023_array, | ||
} as Record<string, ImplicitLibVariableOptions>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.