Skip to content

Commit 3810bd4

Browse files
crisbetoclydin
authored andcommitted
build: update to TypeScript 5.3
Updates the repo to TypeScript 5.3.
1 parent 7b9b7fe commit 3810bd4

File tree

14 files changed

+25408
-6703
lines changed

14 files changed

+25408
-6703
lines changed

goldens/public-api/angular_devkit/build_angular/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
55
```ts
66

7+
/// <reference types="@types/node/http" />
8+
/// <reference types="@types/node/ts4.8/http" />
79
/// <reference types="node" />
810

911
import { BuilderContext } from '@angular-devkit/architect';

goldens/public-api/angular_devkit/core/node/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
55
```ts
66

7+
/// <reference types="@types/node/fs" />
8+
/// <reference types="@types/node/ts4.8/fs" />
79
/// <reference types="node" />
810

911
import { Observable } from 'rxjs';

goldens/public-api/angular_devkit/core/node/testing/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
55
```ts
66

7+
/// <reference types="@types/node/fs" />
8+
/// <reference types="@types/node/ts4.8/fs" />
79
/// <reference types="node" />
810

911
import * as fs from 'fs';

goldens/public-api/angular_devkit/schematics/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
55
```ts
66

7+
/// <reference types="@types/node/ts4.8/url" />
8+
/// <reference types="@types/node/url" />
9+
710
import { BaseException } from '@angular-devkit/core';
811
import { JsonValue } from '@angular-devkit/core';
912
import { logging } from '@angular-devkit/core';

goldens/public-api/angular_devkit/schematics/tasks/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
55
```ts
66

7+
/// <reference types="@types/node/ts4.8/url" />
8+
/// <reference types="@types/node/url" />
9+
710
// @public (undocumented)
811
export class NodePackageInstallTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
912
constructor(workingDirectory?: string);

goldens/public-api/angular_devkit/schematics/testing/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
55
```ts
66

7+
/// <reference types="@types/node/ts4.8/url" />
8+
/// <reference types="@types/node/url" />
9+
710
import { JsonValue } from '@angular-devkit/core';
811
import { logging } from '@angular-devkit/core';
912
import { Observable } from 'rxjs';

goldens/public-api/angular_devkit/schematics/tools/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
55
```ts
66

7+
/// <reference types="@types/node/ts4.8/url" />
8+
/// <reference types="@types/node/url" />
9+
710
import { BaseException } from '@angular-devkit/core';
811
import { JsonObject } from '@angular-devkit/core';
912
import { JsonValue } from '@angular-devkit/core';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
"tree-kill": "1.2.2",
207207
"ts-node": "^10.9.1",
208208
"tslib": "2.6.2",
209-
"typescript": "5.2.2",
209+
"typescript": "5.3.2",
210210
"undici": "5.27.2",
211211
"verdaccio": "5.27.0",
212212
"verdaccio-auth-memory": "^10.0.0",

packages/angular_devkit/build_angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"ng-packagr": "^17.0.0 || ^17.1.0-next.0",
8787
"protractor": "^7.0.0",
8888
"tailwindcss": "^2.0.0 || ^3.0.0",
89-
"typescript": ">=5.2 <5.3"
89+
"typescript": ">=5.2 <5.4"
9090
},
9191
"peerDependenciesMeta": {
9292
"@angular/localize": {

packages/ngtools/webpack/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
"dependencies": {},
2424
"peerDependencies": {
2525
"@angular/compiler-cli": "^17.0.0 || ^17.1.0-next.0",
26-
"typescript": ">=5.2 <5.3",
26+
"typescript": ">=5.2 <5.4",
2727
"webpack": "^5.54.0"
2828
},
2929
"devDependencies": {
3030
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
3131
"@angular/compiler": "17.1.0-next.1",
3232
"@angular/compiler-cli": "17.1.0-next.1",
33-
"typescript": "5.2.2",
33+
"typescript": "5.3.2",
3434
"webpack": "5.89.0"
3535
}
3636
}

packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
load("//tools:defaults.bzl", "ts_library")
22

3-
# files fetched on 2023-06-02 from
4-
# https://github.com/microsoft/TypeScript/releases/tag/v5.2.2
3+
# files fetched on 2023-11-22 from
4+
# https://github.com/microsoft/TypeScript/releases/tag/v5.2.3
55

66
# Commands to download:
7-
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.2.2/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
8-
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.2.2/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
7+
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.3.2/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
8+
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.3.2/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
99

1010
licenses(["notice"]) # Apache 2.0
1111

0 commit comments

Comments
 (0)