Skip to content

Commit

Permalink
Upgrade TypeScript to ~5.0.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed May 22, 2023
1 parent fdd48cf commit e779442
Show file tree
Hide file tree
Showing 102 changed files with 1,036 additions and 1,748 deletions.
6 changes: 3 additions & 3 deletions apps/api-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
"resolve": "~1.22.1",
"semver": "~7.3.0",
"source-map": "~0.6.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
},
"devDependencies": {
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "0.49.3",
"@rushstack/heft-node-rig": "1.11.14",
"@rushstack/heft": "0.50.4",
"@rushstack/heft-node-rig": "1.12.10",
"@types/heft-jest": "1.0.1",
"@types/lodash": "4.14.116",
"@types/node": "14.18.36",
Expand Down
6 changes: 3 additions & 3 deletions apps/heft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"devDependencies": {
"@microsoft/api-extractor": "workspace:*",
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "0.49.3",
"@rushstack/heft-node-rig": "1.11.14",
"@rushstack/heft": "0.50.4",
"@rushstack/heft-node-rig": "1.12.10",
"@types/argparse": "1.0.38",
"@types/eslint": "8.2.0",
"@types/glob": "7.1.1",
Expand All @@ -62,6 +62,6 @@
"@types/semver": "7.3.5",
"colors": "~1.2.1",
"tslint": "~5.20.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion apps/trace-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"colors": "~1.2.1",
"resolve": "~1.22.1",
"semver": "~7.3.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
},
"devDependencies": {
"@rushstack/eslint-config": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion build-tests-samples/heft-node-basic-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"@types/heft-jest": "1.0.1",
"@types/node": "14.18.36",
"eslint": "~8.7.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion build-tests-samples/heft-node-jest-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@types/heft-jest": "1.0.1",
"@types/node": "14.18.36",
"eslint": "~8.7.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"aws-cdk-lib": "2.7.0",
"constructs": "~10.0.98",
"eslint": "~8.7.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"react": "~16.13.1",
"style-loader": "~2.0.0",
"terser-webpack-plugin": "~3.0.8",
"typescript": "~4.8.4",
"typescript": "~5.0.4",
"webpack": "~4.44.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"html-webpack-plugin": "~4.5.2",
"source-map-loader": "~1.1.3",
"style-loader": "~2.0.0",
"typescript": "~4.8.4",
"typescript": "~5.0.4",
"webpack": "~4.44.2"
}
}
2 changes: 1 addition & 1 deletion build-tests-samples/heft-web-rig-app-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"@types/react-dom": "16.9.14",
"@types/react": "16.14.23",
"@types/webpack-env": "1.18.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"@types/react-dom": "16.9.14",
"@types/react": "16.14.23",
"@types/webpack-env": "1.18.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"html-webpack-plugin": "~5.5.0",
"source-map-loader": "~3.0.1",
"style-loader": "~3.3.1",
"typescript": "~4.8.4",
"typescript": "~5.0.4",
"webpack": "~5.80.0"
}
}
2 changes: 1 addition & 1 deletion build-tests-samples/packlets-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@rushstack/heft": "workspace:*",
"@types/node": "14.18.36",
"eslint": "~8.7.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type IInterfaceLikeTypeAlias = "
"text": "export type IInterfaceLikeTypeAlias = "
},
{
"kind": "Content",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Some interface-like type alias.
**Signature:**

```typescript
export declare type IInterfaceLikeTypeAlias = {
export type IInterfaceLikeTypeAlias = {
someProp: number;
};
```
2 changes: 1 addition & 1 deletion build-tests/api-documenter-scenarios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@types/jest": "29.2.5",
"@types/node": "14.18.36",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
10 changes: 5 additions & 5 deletions build-tests/api-documenter-test/etc/api-documenter-test.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type ExampleDuplicateTypeAlias = "
"text": "export type ExampleDuplicateTypeAlias = "
},
{
"kind": "Reference",
Expand Down Expand Up @@ -1496,7 +1496,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type ExampleTypeAlias = "
"text": "export type ExampleTypeAlias = "
},
{
"kind": "Reference",
Expand Down Expand Up @@ -1527,7 +1527,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type ExampleUnionTypeAlias = "
"text": "export type ExampleUnionTypeAlias = "
},
{
"kind": "Reference",
Expand Down Expand Up @@ -1594,7 +1594,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type GenericTypeAlias<T> = "
"text": "export type GenericTypeAlias<T> = "
},
{
"kind": "Content",
Expand Down Expand Up @@ -2725,7 +2725,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type TypeAlias = "
"text": "export type TypeAlias = "
},
{
"kind": "Content",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A type alias that has duplicate references.
**Signature:**

```typescript
export declare type ExampleDuplicateTypeAlias = SystemEvent | typeof SystemEvent;
export type ExampleDuplicateTypeAlias = SystemEvent | typeof SystemEvent;
```
**References:** [SystemEvent](./api-documenter-test.systemevent.md)

Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ A type alias
**Signature:**

```typescript
export declare type ExampleTypeAlias = Promise<boolean>;
export type ExampleTypeAlias = Promise<boolean>;
```
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A type alias that references multiple other types.
**Signature:**

```typescript
export declare type ExampleUnionTypeAlias = IDocInterface1 | IDocInterface3;
export type ExampleUnionTypeAlias = IDocInterface1 | IDocInterface3;
```
**References:** [IDocInterface1](./api-documenter-test.idocinterface1.md)<!-- -->, [IDocInterface3](./api-documenter-test.idocinterface3.md)

Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
**Signature:**

```typescript
export declare type GenericTypeAlias<T> = T[];
export type GenericTypeAlias<T> = T[];
```
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
**Signature:**

```typescript
export declare type TypeAlias = number;
export type TypeAlias = number;
```
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export declare type ExampleDuplicateTypeAlias = SystemEvent | typeof SystemEvent;
syntax: export type ExampleDuplicateTypeAlias = SystemEvent | typeof SystemEvent;
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export declare type ExampleTypeAlias = Promise<boolean>;
syntax: export type ExampleTypeAlias = Promise<boolean>;
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export declare type ExampleUnionTypeAlias = IDocInterface1 | IDocInterface3;
syntax: export type ExampleUnionTypeAlias = IDocInterface1 | IDocInterface3;
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: 'export declare type GenericTypeAlias<T> = T[];'
syntax: 'export type GenericTypeAlias<T> = T[];'
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ remarks: ''
example: []
isPreview: false
isDeprecated: false
syntax: export declare type TypeAlias = number;
syntax: export type TypeAlias = number;
2 changes: 1 addition & 1 deletion build-tests/api-documenter-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@types/jest": "29.2.5",
"@types/node": "14.18.36",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion build-tests/api-extractor-lib2-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@types/jest": "29.2.5",
"@types/node": "14.18.36",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion build-tests/api-extractor-lib3-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"@types/jest": "29.2.5",
"@types/node": "14.18.36",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type SomeType = "
"text": "export type SomeType = "
},
{
"kind": "Content",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "declare type DuplicateName = "
"text": "type DuplicateName = "
},
{
"kind": "Content",
Expand All @@ -241,7 +241,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type DuplicateName = "
"text": "export type DuplicateName = "
},
{
"kind": "Content",
Expand Down Expand Up @@ -332,7 +332,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "declare type ForgottenExport2 = "
"text": "type ForgottenExport2 = "
},
{
"kind": "Content",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "export declare type GenericTypeAlias<T> = "
"text": "export type GenericTypeAlias<T> = "
},
{
"kind": "Content",
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-extractor-scenarios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"api-extractor-lib3-test": "workspace:*",
"colors": "~1.2.1",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion build-tests/api-extractor-test-01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@types/heft-jest": "1.0.1",
"@types/node": "14.18.36",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion build-tests/api-extractor-test-02/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"@microsoft/api-extractor": "workspace:*",
"@types/node": "14.18.36",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion build-tests/api-extractor-test-03/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"@types/node": "14.18.36",
"api-extractor-test-02": "workspace:*",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
2 changes: 1 addition & 1 deletion build-tests/api-extractor-test-04/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@microsoft/api-extractor": "workspace:*",
"api-extractor-lib1-test": "workspace:*",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
4 changes: 2 additions & 2 deletions build-tests/eslint-7-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@types/node": "14.18.36",
"@typescript-eslint/parser": "~5.38.0",
"@typescript-eslint/parser": "~5.59.2",
"eslint": "~7.30.0",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@rushstack/set-webpack-public-path-plugin": "workspace:*",
"@types/webpack-env": "1.18.0",
"html-webpack-plugin": "~4.5.2",
"typescript": "~4.8.4",
"typescript": "~5.0.4",
"webpack-bundle-analyzer": "~4.5.0",
"webpack": "~4.44.2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@rushstack/heft": "workspace:*",
"@types/webpack-env": "1.18.0",
"html-webpack-plugin": "~4.5.2",
"typescript": "~4.8.4",
"typescript": "~5.0.4",
"webpack-bundle-analyzer": "~4.5.0",
"webpack": "~5.80.0"
}
Expand Down
Loading

0 comments on commit e779442

Please sign in to comment.