UNPKG

407 BTypeScriptView Raw
1declare namespace matchdep {
2 type FilterConfig = string | object;
3 type FilterFunction = (pattern: string | string[], config?: FilterConfig) => string[];
4}
5
6declare const matchdep: {
7 readonly filter: matchdep.FilterFunction;
8 readonly filterDev: matchdep.FilterFunction;
9 readonly filterPeer: matchdep.FilterFunction;
10 readonly filterAll: matchdep.FilterFunction;
11};
12
13export = matchdep;