angular/packages/core/testing/src
Kristiyan Kostadinov 29039fcdbc feat(core): support TypeScript 4.7 (#45749)
Adds support for TypeScript 4.7. Changes include:
* Bumping the TS version as well as some Bazel dependencies to include https://github.com/bazelbuild/rules_nodejs/pull/3420.
* Adding a backwards-compatibility layer for calls to `updateTypeParameterDeclaration`.
* Making `LView` generic in order to make it easier to type the context based on the usage. Currently the context can be 4 different types which coupled with stricter type checking would required a lot of extra casting all over `core`.
* Fixing a bunch of miscellaneous type errors.
* Removing assertions of `ReferenceEntry.isDefinition` in a few of the language service tests. The field isn't returned by TS anymore and we weren't using it for anything.
* Resolving in error in the language service that was caused by TS attempting to parse HTML files when we try to open them. Previous TS was silently setting them as `ScriptKind.Unknown` and ignoring the errors, but now it throws. I've worked around it by setting them as `ScriptKind.JSX`.

PR Close #45749
2022-04-29 12:19:45 -04:00
..
async.ts feat(core): drop support for zone.js 0.10.x (#40823) 2021-02-24 07:58:29 -08:00
component_fixture.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
fake_async.ts docs: update flush description to include microtasks (#45237) 2022-03-07 15:41:07 -08:00
lang_utils.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
logger.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata_override.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata_overrider.ts fix(core): support cyclic metadata in TestBed overrides (#44215) 2021-11-19 19:27:08 +00:00
ng_zone_mock.ts refactor(core): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:15 -07:00
r3_test_bed.ts feat(core): support TypeScript 4.7 (#45749) 2022-04-29 12:19:45 -04:00
r3_test_bed_compiler.ts refactor(core): do not allow standalone flag overrides via TestBed APIs (#45788) 2022-04-28 09:47:26 -07:00
resolvers.ts feat(core): support TypeScript 4.7 (#45749) 2022-04-29 12:19:45 -04:00
styling.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
test_bed.ts refactor(core): remove deprecated aotSummaries fields in TestBed config (#45487) 2022-04-12 23:29:38 +00:00
test_bed_common.ts refactor(core): remove deprecated aotSummaries fields in TestBed config (#45487) 2022-04-12 23:29:38 +00:00
test_hooks.ts refactor: delete the View Engine runtime (#43884) 2021-11-23 21:10:06 +00:00
testing.ts test: remove view-engine-only tests (#43884) 2021-11-23 21:10:06 +00:00
testing_internal.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00