mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This allows Angular to error on unknown properties, allowing applications that don’t use custom elements to get better error reporting. Part of #10043 BREAKING CHANGE: - By default, Angular will error during parsing on unknown properties, even if they are on elements with a `-` in their name (aka custom elements). If you application is using custom elements, fill the new parameter `@NgModule.schemas` with the value `[CUSTOM_ELEMENTS_SCHEMA]`. E.g. for bootstrap: ``` bootstrap(MyComponent, {schemas: [CUSTOM_ELEMENTS_SCHEMA]}); ``` |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| testing | ||
| compiler.ts | ||
| core_private.ts | ||
| index.ts | ||
| package.json | ||
| private_export.ts | ||
| rollup.config.js | ||
| testing.ts | ||
| tsconfig-es5.json | ||
| tsconfig-es2015.json | ||