mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(compiler-cli): remove unused closureCompilerEnabled from NgtscProgram (#43148)
remove the NgtscProgram's private field closureCompilerEnabled as that is not being used in the class itself PR Close #43148
This commit is contained in:
parent
b9fd76e257
commit
cf338493bf
1 changed files with 0 additions and 3 deletions
|
|
@ -37,7 +37,6 @@ export class NgtscProgram implements api.Program {
|
|||
*/
|
||||
private tsProgram: ts.Program;
|
||||
|
||||
private closureCompilerEnabled: boolean;
|
||||
private host: NgCompilerHost;
|
||||
private incrementalStrategy: TrackedIncrementalBuildStrategy;
|
||||
|
||||
|
|
@ -53,8 +52,6 @@ export class NgtscProgram implements api.Program {
|
|||
verifySupportedTypeScriptVersion();
|
||||
}
|
||||
|
||||
this.closureCompilerEnabled = !!options.annotateForClosureCompiler;
|
||||
|
||||
const reuseProgram = oldProgram?.compiler.getCurrentProgram();
|
||||
this.host = NgCompilerHost.wrap(delegateHost, rootNames, options, reuseProgram ?? null);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue