Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Project.prototype.getSourceFiles
import { Project } from "https://deno.land/x/fresh_testing_library@0.13.0/deps/ts_morph.ts";

Gets all the source files added to the project.

Returns

SourceFile[]

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

Parameters

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

Returns

SourceFile[]

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.

Returns

SourceFile[]