npm.io
2.0.3 • Published 2 years ago

@types/matchdep

Licence
MIT
Version
2.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by tpluscode.