MCPcopy Create free account
hub / github.com/angular/angular / getTsProgram

Method getTsProgram

packages/compiler-cli/test/ngtsc/env.ts:163–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 }
162
163 getTsProgram(): ts.Program {
164 if (this.oldProgram === null) {
165 throw new Error('No ts.Program has been created yet.');
166 }
167 return this.oldProgram.getTsProgram();
168 }
169
170 getReuseTsProgram(): ts.Program {
171 if (this.oldProgram === null) {

Callers

nothing calls this directly

Calls 1

getTsProgramMethod · 0.65

Tested by

no test coverage detected