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. Throws an error if it doesn't exist.
Gets a source file by a search function. Throws an error if it doesn't exist.
Parameters
searchFunction: (file: SourceFile) => boolean
- Search function.