mirror of
https://github.com/SomboChea/ui
synced 2024-05-01 00:51:38 +07:00
54 lines
1.3 KiB
JavaScript
54 lines
1.3 KiB
JavaScript
// flow-typed signature: bc0af4a44bb8631039f713b1afba6988
|
|
// flow-typed version: d42cbef63c/minimatch_v3.x.x/flow_>=v0.25.x
|
|
|
|
type $npm$minimatch$Options = {
|
|
debug?: boolean,
|
|
nobrace?: boolean,
|
|
noglobstar?: boolean,
|
|
dot?: boolean,
|
|
noext?: boolean,
|
|
nocase?: boolean,
|
|
nonull?: boolean,
|
|
matchBase?: boolean,
|
|
nocomment?: boolean,
|
|
nonegate?: boolean,
|
|
flipNegate?: boolean
|
|
};
|
|
|
|
declare module "minimatch" {
|
|
declare class Minimatch {
|
|
constructor(pattern: string, options?: $npm$minimatch$Options): Minimatch,
|
|
set: Array<Array<string | RegExp>>,
|
|
regexp: null | RegExp, // null until .makeRe() is called
|
|
negate: boolean,
|
|
comment: boolean,
|
|
empty: boolean,
|
|
makeRe(): RegExp | false,
|
|
match(name: string): boolean,
|
|
matchOne(
|
|
fileArray: Array<string>,
|
|
patternArray: Array<string>,
|
|
partial?: boolean
|
|
): boolean
|
|
}
|
|
|
|
declare class MinimatchModule {
|
|
Minimatch: Class<Minimatch>,
|
|
|
|
(name: string, pattern: string, options?: $npm$minimatch$Options): boolean,
|
|
|
|
filter(
|
|
pattern: string,
|
|
options?: $npm$minimatch$Options
|
|
): (value: string) => boolean,
|
|
|
|
match(
|
|
list: Array<string>,
|
|
pattern: string,
|
|
options?: $npm$minimatch$Options
|
|
): Array<string>
|
|
}
|
|
|
|
declare module.exports: MinimatchModule;
|
|
}
|