import { type TsSourceFileContainer } from "https://deno.land/x/ts_morph@17.0.1/common/ts_morph_common.d.ts";
A container of source files.
Methods
addOrGetSourceFileFromFilePath(filePath: StandardizedFilePath, opts: { markInProject: boolean; scriptKind: ScriptKind | undefined; }): Promise<ts.SourceFile | undefined>
Asynchronously adds or gets a source file from a file path.
addOrGetSourceFileFromFilePathSync(filePath: StandardizedFilePath, opts: { markInProject: boolean; scriptKind: ScriptKind | undefined; }): ts.SourceFile | undefined
Synchronously adds or gets a source file from a file path.