angular-docs-cn/modules/@angular/core
Tobias Bosch 00b726f695 refactor(core): introduce `NgModule.schemas`
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]});
  ```
2016-07-26 07:04:36 -07:00
..
src refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
test refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
testing refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
index.ts refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
package.json chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
private_export.ts refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
rollup.config.js build: fix source map paths for npm packages 2016-05-03 13:36:33 -06:00
testing.ts fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
tsconfig-es5.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00
tsconfig-es2015.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00