Skip to main content
Module

x/ts_morph/ts_morph.d.ts>Project#getSourceFiles

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

Gets all the source files added to the project.

Gets all the source files added to the project that match a pattern.

Parameters

globPattern: string
  • Glob pattern for filtering out the source files.

Gets all the source files added to the project that match the passed in patterns.

Parameters

globPatterns: ReadonlyArray<string>
  • Glob patterns for filtering out the source files.