coreDirectives top-level constant
A collection of Angular core directives, such as NgFor and NgIf.
This collection is primarily provided for legacy/compatibility, and it is
preferred to instead define exactly what directives you need/use in your
directives: [ ... ]
list instead.
Implementation
const coreDirectives = [
NgClass,
NgFor,
NgIf,
NgTemplateOutlet,
NgStyle,
NgSwitch,
NgSwitchWhen,
NgSwitchDefault,
];