![]() Reports a template reference variable that is not assigned to a directive when using exportAs or is assigned to multiple directives. Unbound or ambiguous template reference variable Reports a cyclic dependency between Angular modules. Recursive import or export of Angular module Reports multiple structural directives ( *ngIf, *ngFor, etc.) on one element. Multiple structural directives on one element Reports an invalid selector property of a component or directive. Reports an Angular component, directive, or pipe that is not declared in any module or is declared in multiple modules. Missing or invalid component, directive or pipe declaration in a module Reports a missing event handler statement for an event binding. Reports any symbol that is declared, imported or exported by an Angular module that is not a module, component, directive, or pipe or can’t be used in the context of the property. Reports a problem with a i18n-* attribute. Reports an invalid Angular component specified in the module’s bootstrap or entr圜omponents property. To attach an animation to an element, use or an attribute without a value entry component ![]() Reports an invalid assignment of an animation trigger. Reports a binding to an event property or attribute, for example, or instead of (click). Reports a component that doesn’t have an associated template or uses both template and templateUrl properties. Such usages result in AOT compilation failure. Reports accessing a private or protected member of a component from the component's template. Inaccessible component member in AOT mode Reports a text or tag occurrence inside a tag used for content projection. polyfills), or scaffold package-specific initialization code. Ng add will use the package manager to download it and invoke a schematic which can update your project with configuration changes, add additional dependencies (e.g. Suggests using the ng add command to install the dependency. Reports a component that is matched on an embedded template element or multiple components matched on any other element.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |