angular-docs-cn/modules/@angular/upgrade
Chuck Jazdzewski 39a2c39cef feat(compiler): Added "strictMetadataEmit" option to ngc (#10951)
ngc can now validate metadata before emitting to verify it doesn't
contain an error symbol that will result in a runtime error if
it is used by the StaticReflector.

To enable this add the section,

  "angularCompilerOptions": {
    "strictMetadataEmit": true
  }

to the top level of the tsconfig.json file passed to ngc.

Enabled metadata validation for packages that are intended to be
used statically.
2016-08-22 17:37:48 -07:00
..
src refactor(Provider): remove deprecated provider/bind API (#10652) 2016-08-15 19:37:42 -07:00
test refactor(NgUpgrade): remove deprecated addProvider 2016-08-12 17:59:30 -07:00
index.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
package.json fix(upgrade): add peerDependency on platform-browser-dynamic (#9674) 2016-06-28 17:27:28 -07:00
rollup.config.js fix(upgrade): fix bundling issue and fix e2e test 2016-06-21 11:12:42 -07:00
tsconfig-es5.json feat(compiler): Added "strictMetadataEmit" option to ngc (#10951) 2016-08-22 17:37:48 -07:00
tsconfig-es2015.json feat(compiler): Added "strictMetadataEmit" option to ngc (#10951) 2016-08-22 17:37:48 -07:00
upgrade.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00