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

x/ts_morph/common/mod.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@16.0.0/common/mod.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[]