Skip to content

Commit 2762c1c

Browse files
committed
fix(types): define parse args as optional
1 parent 838646f commit 2762c1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/parse.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ export interface Argv {
1818
suites: Suite[];
1919
}
2020

21-
// TODO: named `parse` export
22-
export function parse(dir: string, pattern: string, opts?: Partial<Options>): Promise<Argv>;
21+
export function parse(dir?: string, pattern?: string|RegExp, opts?: Partial<Options>): Promise<Argv>;

0 commit comments

Comments
 (0)