angular/packages/language-service/test
Paul Gschwendtner 13f10de40e test: update code fixes spec to work with esm-cjs interop lint (#48731)
The TSLint rule for ESM/CJS interop was apparently not working
for a short period of time due to diverging TypeScript versions.

This commit fixes the lint warning to replace the type-only
import with a default import. Even thoughn not striclty needed
for types- the rule enforces a default import as that is the safer
approach for runtime imported symbols.

Also the rule is updated to not disallow `cluster` anymore. The
types for cluster do no allow for e.g. `cluster.Worker` if cluster
refers to the default import. The whole lint rule is not strictly
needed anymore since we build & test with ESM in this repo now!

PR Close #48731
2023-01-13 14:10:39 +00:00
..
legacy refactor: update language-service package and tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
adapters_spec.ts refactor: update language-service package and tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
BUILD.bazel refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00
code_fixes_spec.ts test: update code fixes spec to work with esm-cjs interop lint (#48731) 2023-01-13 14:10:39 +00:00
compiler_spec.ts refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00
completions_spec.ts fix(language-service): correctly handle host directive inputs/outputs (#48147) 2022-11-22 09:47:49 -08:00
definitions_spec.ts refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
diagnostic_spec.ts fix(compiler-cli): only consider used pipes for inline type-check requirement (#46807) 2022-07-12 21:09:18 +00:00
get_template_location_for_component_spec.ts refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00
gettcb_spec.ts refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00
quick_info_spec.ts refactor: update language-service package and tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
references_and_rename_spec.ts feat(core): support TypeScript 4.7 (#45749) 2022-04-29 12:19:45 -04:00
signature_help_spec.ts refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00
ts_utils_spec.ts feat(language-service): Quick fix to import a component when its selector is used (#47088) 2022-10-10 21:32:43 +00:00
type_definitions_spec.ts refactor(language-service): Move language service code out of ivy/ folder (#44064) 2021-11-10 01:20:04 +00:00