diff --git a/index.d.ts b/index.d.ts index 5e58ea0..a2cd727 100644 --- a/index.d.ts +++ b/index.d.ts @@ -6,13 +6,13 @@ interface RollupCommonJSOptions { * specifically include/exclude files * @default undefined */ - include?: string | RegExp, + include?: string | RegExp | ReadonlyArray, /** * non-CommonJS modules will be ignored, but you can also * specifically include/exclude files * @default undefined */ - exclude?: ReadonlyArray + exclude?: string | RegExp | ReadonlyArray, /** * search for files other than .js files (must already * be transpiled by a previous plugin!)