Skip to content

Commit 69a9569

Browse files
committed
build: update to TypeScript 5.5
Updates the repo to the latest Angular `next` version and TypeScript 5.5 beta.
1 parent 58a30cf commit 69a9569

File tree

46 files changed

+6832
-7966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+6832
-7966
lines changed

integration/harness-e2e-cli/yarn.lock

Lines changed: 1027 additions & 1007 deletions
Large diffs are not rendered by default.

integration/ng-add-standalone/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ node_integration_test(
3030
"rm -f %s/package.json" % APP_NAME,
3131
# Delete the Karma config since we need to use a headless browser.
3232
"rm -f %s/karma.conf.js" % APP_NAME,
33+
# Delete the tsconfig since we have a pre-defined one.
34+
"rm -f %s/tsconfig.json" % APP_NAME,
3335
# We can't name the checked-in config `angular.json`, because the CLI doesn't allow
3436
# `ng new` to run in a directory that has an `angular.json` already.
3537
"mv _angular.json angular.json",

integration/ng-add-standalone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"karma-coverage": "~2.2.0",
3636
"karma-jasmine": "~5.1.0",
3737
"karma-jasmine-html-reporter": "~2.0.0",
38-
"typescript": "~5.4.2"
38+
"typescript": "5.5.0-beta"
3939
}
4040
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"outDir": "./dist/out-tsc",
6+
"forceConsistentCasingInFileNames": true,
7+
"strict": true,
8+
"noImplicitOverride": true,
9+
"noPropertyAccessFromIndexSignature": true,
10+
"noImplicitReturns": true,
11+
"noFallthroughCasesInSwitch": true,
12+
"sourceMap": true,
13+
"declaration": false,
14+
"downlevelIteration": true,
15+
"experimentalDecorators": true,
16+
"moduleResolution": "node",
17+
"importHelpers": false,
18+
"target": "es2017",
19+
"module": "es2020",
20+
"lib": ["es2020", "dom"]
21+
},
22+
"angularCompilerOptions": {
23+
"enableI18nLegacyMessageIdFormat": false,
24+
"strictInjectionParameters": true,
25+
"strictInputAccessModifiers": true,
26+
"strictTemplates": true
27+
}
28+
}

0 commit comments

Comments
 (0)