Urara-Blog/node_modules/.pnpm-store/v3/files/c5/17f08649c46287d4abff3c0b68239894584726b9b55698207770b80ccd012b4342b3784d1d1bc0c08768068fbf61a783780827a2109ddfc3fe3a1c098961ad
2022-08-14 01:14:53 +08:00

22 lines
441 B
Text

type Arrayable<T> = T[] | T;
export interface Suite {
/** The relative file path */
name: string;
/** The absolute file path */
file: string;
}
export interface Options {
cwd: string;
require: Arrayable<string>;
ignore: Arrayable<string | RegExp>;
}
export interface Argv {
dir: string;
suites: Suite[];
requires: boolean;
}
export function parse(dir?: string, pattern?: string|RegExp, opts?: Partial<Options>): Promise<Argv>;