(path: string, content: string)
| 65 | } |
| 66 | |
| 67 | createSourceFile(path: string, content: string): ts.SourceFile { |
| 68 | this.setFileContentAtPath(path, content); |
| 69 | return this.openSourceFile(path); |
| 70 | } |
| 71 | |
| 72 | openSourceFile(path: string): ts.SourceFile { |
| 73 | return this.sourceFileManager.getOrCreateSourceFile(path, this.compilerOptions.target ?? ts.ScriptTarget.Latest); |