Skip to main content
Module

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

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
function matchGlobs
import { matchGlobs } from "https://deno.land/x/ts_morph@15.1.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[]