angular-docs-cn/packages/compiler-cli/test
Martin Probst 8c52088346 fix(compiler-cli): merge @fileoverview comments. (#20870)
Previously, this code would unconditionally add a @fileoverview
comment to generated files, and only if the contained any code at all.

However often existing fileoverview comments should be copied from the
file the generated file was originally based off of. This allows users
to e.g. include Closure Compiler directives in their original
`component.ts` file, which will then automaticallly also apply to code
generated from it.

This special cases `@license` comments, as Closure disregards directives
in comments containing `@license`.

PR Close #20870
2017-12-12 11:37:55 -08:00
..
diagnostics feat(compiler): add a pseudo $any() function to disable type checking (#20876) 2017-12-11 14:34:38 -08:00
metadata feat(compiler): narrow types of expressions used in *ngIf (#20702) 2017-12-08 10:24:26 -08:00
transformers fix(compiler-cli): merge @fileoverview comments. (#20870) 2017-12-12 11:37:55 -08:00
extract_i18n_spec.ts refactor(compiler): remove all source-level traces to tsc-wrapped (#18966) 2017-09-13 20:47:37 -04:00
mocks.ts refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
ngc_spec.ts fix(compiler-cli): merge @fileoverview comments. (#20870) 2017-12-12 11:37:55 -08:00
ngtools_api_spec.ts refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
perform_watch_spec.ts feat(compiler-cli): improve error messages produced during structural errors (#20459) 2017-11-27 16:59:57 -06:00
test_support.ts fix(compiler): recover from structural errors in watch mode (#19953) 2017-10-26 18:43:00 -04:00