$ cnpm install @types/matchdep
npm install --save @types/matchdep
This package contains type definitions for matchdep (https://github.com/tkellen/js-matchdep).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matchdep.
// Type definitions for matchdep 2.0
// Project: https://github.com/tkellen/js-matchdep
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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;
These definitions were written by tpluscode.
Copyright 2013 - present © cnpmjs.org | Home |