@types/matchdep
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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

Credits

These definitions were written by tpluscode.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/matchdep

Weekly Downloads

1,397

Version

2.0.3

License

MIT

Unpacked Size

3.34 kB

Total Files

5

Last publish

Collaborators

  • types