@types/matchdep
Version:
TypeScript definitions for matchdep
33 lines (25 loc) • 1 kB
Markdown
# Installation
> `npm install --save @types/matchdep`
# Summary
This package contains type definitions for matchdep (https://github.com/tkellen/js-matchdep).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matchdep.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matchdep/index.d.ts)
````ts
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;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: none
# Credits
These definitions were written by [tpluscode](https://github.com/tpluscode).