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

x/ts_morph/bootstrap/ts_morph_bootstrap.d.ts>Project#addSourceFilesByPaths

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

Asynchronously adds source files based on file globs.

Parameters

fileGlobs: string | ReadonlyArray<string>
  • File glob or globs to add files based on.

Returns

Promise<ts.SourceFile[]>

The matched source files.