angular/packages/compiler-cli/test/ngtsc
Kristiyan Kostadinov d25a6a0120 fix(compiler-cli): handle initializer APIs wrapped in type casts (#62203)
Fixes that the logic recognizing initializer APIs didn't account for the expression being wrapped in an `as` expresion or in a parenthesized expression. This was already accounted for in the diagnostic so these changes align the behavior between them.

Fixes #62197.

PR Close #62203
2025-06-23 14:26:05 +02:00
..
doc_extraction refactor(compiler-cli): Extract type predicates from type guards. (#60934) 2025-04-23 09:56:44 +02:00
attach_source_location_spec.ts refactor(compiler): produce DOM-only instructions (#62096) 2025-06-23 14:24:09 +02:00
authoring_diagnostics_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
authoring_inputs_spec.ts fix(compiler-cli): handle initializer APIs wrapped in type casts (#62203) 2025-06-23 14:26:05 +02:00
authoring_models_spec.ts refactor(compiler-cli): move two-way binding fix behind flag (#59002) 2024-12-05 16:11:02 -08:00
authoring_outputs_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
authoring_queries_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel build: migrate to using new jasmine_test (#62086) 2025-06-18 08:27:26 +02:00
component_indexing_spec.ts build: migrate packages/compiler-cli to ts_project (#61826) 2025-06-03 11:41:52 +02:00
debug_transform_spec.ts refactor(compiler-cli): implement transform to determine debugName from signal functions (#57348) 2025-06-03 20:34:12 -04:00
declaration_only_emission_spec.ts feat(compiler-cli): support host directives with direct external references in fast type declaration emission (#61469) 2025-05-21 13:46:43 +00:00
defer_spec.ts fix(compiler): move defer trigger assertions out of parser (#61747) 2025-05-30 13:44:58 -04:00
env.ts refactor(compiler-cli): convert scripts within packages/compiler-cli to relative imports (#60625) 2025-04-01 11:57:53 +00:00
extended_template_diagnostics_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
hmr_spec.ts fix(compiler): avoid conflicts between HMR code and local symbols (#61550) 2025-05-21 12:25:25 +00:00
host_bindings_type_check_spec.ts refactor(compiler-cli): convert scripts within packages/compiler-cli to relative imports (#60625) 2025-04-01 11:57:53 +00:00
host_directives_spec.ts refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
imports_spec.ts fix(compiler-cli): support relative imports to symbols outside rootDir (#60555) 2025-03-26 20:45:55 -07:00
incremental_error_spec.ts refactor(compiler-cli): Migrate manually ngtsc tests to standalone by default (#58160) 2024-10-14 14:58:58 +00:00
incremental_semantic_changes_spec.ts refactor(compiler-cli): Migrate manually ngtsc tests to standalone by default (#58160) 2024-10-14 14:58:58 +00:00
incremental_spec.ts refactor(compiler-cli): Migrate manually ngtsc tests to standalone by default (#58160) 2024-10-14 14:58:58 +00:00
incremental_typecheck_spec.ts refactor(compiler-cli): Migrate manually ngtsc tests to standalone by default (#58160) 2024-10-14 14:58:58 +00:00
local_compilation_spec.ts refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
ls_typecheck_helpers_spec.ts feat(language-service): Support importing the external module's export about the angular metadata. (#61122) 2025-06-04 14:11:20 -04:00
monorepo_spec.ts refactor(compiler-cli): Migrate manually ngtsc tests to standalone by default (#58160) 2024-10-14 14:58:58 +00:00
ngtsc_spec.ts refactor(compiler): produce DOM-only instructions (#62096) 2025-06-23 14:24:09 +02:00
scope_spec.ts refactor(compiler-cli): Migrate manually ngtsc tests to standalone by default (#58160) 2024-10-14 14:58:58 +00:00
selectorless_spec.ts refactor(compiler): account for pipes without names (#61328) 2025-05-19 08:24:06 +00:00
sourcemap_utils.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
standalone_spec.ts refactor(compiler): produce DOM-only instructions (#62096) 2025-06-23 14:24:09 +02:00
template_mapping_spec.ts refactor(core): replace propertyInterpolateX with property (#61639) 2025-05-26 09:21:23 +00:00
template_typecheck_spec.ts feat(compiler): support the in keyword in Binary expression (#58432) 2025-04-22 21:44:12 +02:00
util.ts refactor(compiler-cli): convert scripts within packages/compiler-cli to relative imports (#60625) 2025-04-01 11:57:53 +00:00
xi18n_spec.ts refactor(compiler-cli): convert scripts within packages/compiler-cli to relative imports (#60625) 2025-04-01 11:57:53 +00:00