import { type ProjectOptions } from "https://deno.land/x/ts_morph@21.0.1/ts_morph.d.ts";
Options for creating a project.
Properties
Compiler options
Can be overriden by tsConfigFilePath
or compilerOptions
.
Whether to skip adding the source files from the specified tsconfig.json.
Skip resolving file dependencies when providing a ts config file path and adding the files from tsconfig.
Skip loading the lib files. Unlike the compiler API, ts-morph does not load these from the node_modules folder, but instead loads them from some other JS code and uses a fake path for their existence. If you want to use a custom lib files folder path, then provide one using the libFolderPath options.
Manipulation settings
Optional file system host. Useful for mocking access to the file system.
Creates a resolution host for specifying custom module and/or type reference directive resolution.