angular/packages/compiler-cli/src/ngtsc/annotations/directive
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
..
src fix(compiler-cli): handle initializer APIs wrapped in type casts (#62203) 2025-06-23 14:26:05 +02:00
test build: migrate to using new jasmine_test (#62086) 2025-06-18 08:27:26 +02:00
BUILD.bazel build: migrate to using new jasmine_test (#62086) 2025-06-18 08:27:26 +02:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
README.md refactor(compiler-cli): split the 'annotations' package into sub-packages (#44812) 2022-02-03 08:55:25 -08:00

What is the 'annotations/directive' package?

This package implements the DirectiveDecoratorHandler, which processes and compiles @Directive-decorated classes.

Directive compilation is also the base of component compilation, and so this package exports a number of utilities related to directive compilation for the 'annotations/component' package to use.