import { Project } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Gets a source file by a file name or file path. Returns undefined if none exists.
Returns
SourceFile | undefined
Gets a source file by a search function. Returns undefined if none exists.
Parameters
searchFunction: (file: SourceFile) => boolean
- Search function.
Returns
SourceFile | undefined