Skip to content

Commit 144f2bf

Browse files
crisbetoalan-agius4
authored andcommitted
build: update to TypeScript 5.5
Updates the repo to TypeScript 5.5. Since it's still in beta, we're only using 5.5 for our own build, but not for user projects.
1 parent 43f3650 commit 144f2bf

File tree

17 files changed

+184070
-180702
lines changed

17 files changed

+184070
-180702
lines changed

goldens/public-api/angular/build/index.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
import { BuilderContext } from '@angular-devkit/architect';
108
import { BuilderOutput } from '@angular-devkit/architect';
119
import type http from 'node:http';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
import { ApplicationBuilderOptions } from '@angular/build';
108
import { buildApplication } from '@angular/build';
119
import { BuilderContext } from '@angular-devkit/architect';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
import { Observable } from 'rxjs';
108
import { Operator } from 'rxjs';
119
import { PartialObserver } from 'rxjs';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
import * as fs from 'fs';
108
import { Observable } from 'rxjs';
119

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
import { BaseException } from '@angular-devkit/core';
108
import { JsonValue } from '@angular-devkit/core';
119
import { logging } from '@angular-devkit/core';
@@ -172,9 +170,9 @@ export type CollectionDescription<CollectionMetadataT extends object> = Collecti
172170

173171
// @public (undocumented)
174172
export class CollectionImpl<CollectionT extends object, SchematicT extends object> implements Collection<CollectionT, SchematicT> {
175-
constructor(_description: CollectionDescription<CollectionT>, _engine: SchematicEngine<CollectionT, SchematicT>, baseDescriptions?: CollectionDescription<CollectionT>[] | undefined);
173+
constructor(_description: CollectionDescription<CollectionT>, _engine: SchematicEngine<CollectionT, SchematicT>, baseDescriptions?: Array<CollectionDescription<CollectionT>> | undefined);
176174
// (undocumented)
177-
readonly baseDescriptions?: CollectionDescription<CollectionT>[] | undefined;
175+
readonly baseDescriptions?: Array<CollectionDescription<CollectionT>> | undefined;
178176
// (undocumented)
179177
createSchematic(name: string, allowPrivate?: boolean): Schematic<CollectionT, SchematicT>;
180178
// (undocumented)

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
// @public (undocumented)
108
export class NodePackageInstallTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
119
constructor(workingDirectory?: string);

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
import { JsonValue } from '@angular-devkit/core';
108
import { logging } from '@angular-devkit/core';
119
import { Observable } from 'rxjs';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
```ts
66

7-
/// <reference types="node" />
8-
97
import { BaseException } from '@angular-devkit/core';
108
import { JsonObject } from '@angular-devkit/core';
119
import { JsonValue } from '@angular-devkit/core';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"tree-kill": "1.2.2",
201201
"ts-node": "^10.9.1",
202202
"tslib": "2.6.2",
203-
"typescript": "5.4.5",
203+
"typescript": "5.5.0-beta",
204204
"undici": "6.18.1",
205205
"verdaccio": "5.31.0",
206206
"verdaccio-auth-memory": "^10.0.0",

packages/angular/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"less": "^4.2.0",
5353
"postcss": "^8.4.0",
5454
"tailwindcss": "^2.0.0 || ^3.0.0",
55-
"typescript": ">=5.4 <5.5"
55+
"typescript": ">=5.4 <5.6"
5656
},
5757
"peerDependenciesMeta": {
5858
"@angular/localize": {

0 commit comments

Comments
 (0)