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#addSourceFilesByPathsSync

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

Synchronously adds source files based on file globs.

Parameters

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

Returns

ts.SourceFile[]

The matched source files.