Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ts_morph/mod.ts>Project#addSourceFilesFromTsConfig

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Project.prototype.addSourceFilesFromTsConfig
import { Project } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";

Adds all the source files from the specified tsconfig.json.

Note that this is done by default when specifying a tsconfig file in the constructor and not explicitly setting the skipAddingFilesFromTsConfig option to true.

Parameters

tsConfigFilePath: string
  • File path to the tsconfig.json file.