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

Commit 5cb3b2d

Browse files
nicolashenrylukastaegert
authored andcommitted
set same typing to include and exclude properties (#385)
1 parent 456a223 commit 5cb3b2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ interface RollupCommonJSOptions {
66
* specifically include/exclude files
77
* @default undefined
88
*/
9-
include?: string | RegExp,
9+
include?: string | RegExp | ReadonlyArray<string | RegExp>,
1010
/**
1111
* non-CommonJS modules will be ignored, but you can also
1212
* specifically include/exclude files
1313
* @default undefined
1414
*/
15-
exclude?: ReadonlyArray<string | RegExp>
15+
exclude?: string | RegExp | ReadonlyArray<string | RegExp>,
1616
/**
1717
* search for files other than .js files (must already
1818
* be transpiled by a previous plugin!)

0 commit comments

Comments
 (0)