Skip to main content
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@15.1.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.