Commit 31429ea
feat(core): support TypeScript 4.8 (#47038)
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.
PR Close #470381 parent 75df404 commit 31429ea
File tree
97 files changed
+30177
-23782
lines changed- integration
- animations
- cli-hello-world-ivy-compat
- cli-hello-world-mocha
- cli-hello-world-ts-47
- e2e
- src
- src
- app
- assets
- environments
- cli-hello-world
- forms
- ivy-i18n
- trusted-types
- typings_test_ts48
- packages
- bazel
- compiler-cli
- ngcc
- src/host
- src
- ngtsc
- core
- src
- metadata
- src
- partial_evaluator
- src
- reflection
- src
- shims
- src
- transform
- src
- ts_compatibility
- src
- typecheck
- src
- util
- src
- test
- transformers/downlevel_decorators_transform
- test
- core
- testing/src
- test/render3
- zone.js
- test/typings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
97 files changed
+30177
-23782
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
0 commit comments