Skip to content

Commit

Permalink
feat(core): support TypeScript 4.8
Browse files Browse the repository at this point in the history
Adds support for TypeScript 4.8 and resolves some issues that came up as a result of the update.

Most of the issues came from some changes in TypeScript where the `decorators` and `modifiers` properties were removed from most node types, and were combined into a single `modifiers` array. Since we need to continue supporting TS 4.6 and 4.7 until v15, I ended up creating a new `ngtsc/ts_compatibility` directory to make it easier to reuse the new backwards-compatible code.
  • Loading branch information
crisbeto committed Aug 4, 2022
1 parent c01ccc5 commit 569c43b
Show file tree
Hide file tree
Showing 65 changed files with 21,471 additions and 23,766 deletions.
2 changes: 2 additions & 0 deletions integration/animations/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ ng_integration_test(
name = "test",
setup_chromium = True,
track_payload_size = "animations",
# Pinned temporarily until the CLI is updated to support TS 4.8.
pinned_npm_packages = ["typescript"],
)
2 changes: 1 addition & 1 deletion integration/animations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"protractor": "file:../../node_modules/protractor",
"ts-node": "8.3.0",
"tslint": "5.18.0",
"typescript": "file:../../node_modules/typescript"
"typescript": "~4.7.2"
}
}

0 comments on commit 569c43b

Please sign in to comment.