Back to Angular

What is the 'annotations/common' package?

packages/compiler-cli/src/ngtsc/annotations/common/README.md

22.0.0-next.10498 B
Original Source

What is the 'annotations/common' package?

This package contains common code related to the processing of Angular-decorated classes by DecoratorHandler implementations. Some common utilities provided by this package help with:

  • Static evaluation of different kinds of expressions
  • Construction of various diagnostics
  • Extraction of dependency injection information
  • Compilation of dependency injection factories
  • Extraction of raw metadata suitable for generating setClassMetadata calls