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

Method getTsProgram

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

Source from the content-addressed store, hash-verified

167 }
168
169 getTsProgram(): ts.Program {
170 if (this.oldProgram === null) {
171 throw new Error('No ts.Program has been created yet.');
172 }
173 return this.oldProgram.getTsProgram();
174 }
175
176 getReuseTsProgram(): ts.Program {
177 if (this.oldProgram === null) {

Callers

nothing calls this directly

Calls 1

getTsProgramMethod · 0.65

Tested by

no test coverage detected