@types/matchdep
Version:
TypeScript definitions for matchdep
14 lines (11 loc) • 407 B
TypeScript
declare namespace matchdep {
type FilterConfig = string | object;
type FilterFunction = (pattern: string | string[], config?: FilterConfig) => string[];
}
declare const matchdep: {
readonly filter: matchdep.FilterFunction;
readonly filterDev: matchdep.FilterFunction;
readonly filterPeer: matchdep.FilterFunction;
readonly filterAll: matchdep.FilterFunction;
};
export = matchdep;