UNPKG

1 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/matchdep`
3
4# Summary
5This package contains type definitions for matchdep (https://github.com/tkellen/js-matchdep).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matchdep.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matchdep/index.d.ts)
10````ts
11declare namespace matchdep {
12 type FilterConfig = string | object;
13 type FilterFunction = (pattern: string | string[], config?: FilterConfig) => string[];
14}
15
16declare const matchdep: {
17 readonly filter: matchdep.FilterFunction;
18 readonly filterDev: matchdep.FilterFunction;
19 readonly filterPeer: matchdep.FilterFunction;
20 readonly filterAll: matchdep.FilterFunction;
21};
22
23export = matchdep;
24
25````
26
27### Additional Details
28 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
29 * Dependencies: none
30
31# Credits
32These definitions were written by [tpluscode](https://github.com/tpluscode).
33
\No newline at end of file