Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_morph/common/ts_morph_common.d.ts>matchFiles

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
function matchFiles
import { matchFiles } from "https://deno.land/x/ts_morph@18.0.0/common/ts_morph_common.d.ts";

Parameters

this: any
path: string
extensions: ReadonlyArray<string>
excludes: ReadonlyArray<string>
includes: ReadonlyArray<string>
useCaseSensitiveFileNames: boolean
currentDirectory: string
depth: number | undefined
getEntries: (path: string) => FileSystemEntries
realpath: (path: string) => string
directoryExists: (path: string) => boolean

Returns

string[]