Repository URL to install this package:
|
Version:
6.0.4 ▾
|
export type MatchableFn = (...args: any[]) => boolean
export type MatchablePattern = Array<string> | string | RegExp | MatchableFn
export interface Matcher {
make(
pattern: MatchablePattern,
shouldNegate?: boolean | undefined,
alphaOmega?: boolean | undefined
): MatchablePattern
matcher(
inputs: MatchablePattern,
patterns: MatchablePattern,
shouldNegate?: boolean,
alphaOmega?: boolean
): MatchablePattern
testRegExp: any
}
export interface MatchableObj {
negated?: boolean
test?: any
slice?: any
}
export type Matchable = MatchablePattern & MatchableObj