Skip to content

Commit

Permalink
fix(compiler-cli): suppress extraRequire errors in Closure Compiler (#…
Browse files Browse the repository at this point in the history
…35737)

This is needed to support angular/tsickle#1133
because it will add an extra require on `tslib`.

PR Close #35737
  • Loading branch information
EatingW authored and atscott committed Mar 4, 2020
1 parent 7d832ae commit c296bfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/`;
}
Expand Down

0 comments on commit c296bfc

Please sign in to comment.