Module

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

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
function matchGlobs
import { matchGlobs } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/ts_morph_common.d.ts";

Checks the specified file paths to see if the match any of the specified patterns.

Parameters

paths: ReadonlyArray<string>
patterns: string | ReadonlyArray<string>
cwd: string

Returns

string[]