Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit abcb894

Browse files
committed
types(src): more accurate Options type
1 parent a5adbd6 commit abcb894

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import * as util from '@babel/types';
66

77
export type Options = {
88
opts: {
9-
test?: string[];
10-
include?: string[];
11-
exclude?: string[];
9+
test?: (string | RegExp)[];
10+
include?: (string | RegExp)[];
11+
exclude?: (string | RegExp)[];
1212
transformBuiltins?: boolean;
1313
silent?: boolean;
1414
verbose?: boolean;

0 commit comments

Comments
 (0)