fix(compiler-cli): suppress extraRequire errors in Closure Compiler (#35737)

This is needed to support https://github.com/angular/tsickle/pull/1133
because it will add an extra require on `tslib`.

PR Close #35737
This commit is contained in:
Yiting Wang 2020-02-27 18:25:09 -08:00 committed by atscott
parent 7d832ae100
commit c296bfcaf9
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function getPreamble(original: string) {
return `/**
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
* ${original}
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
* tslint:disable
*/`;
}