From b0b79f516720a9855e75a34b49fabeca5d7ed46e Mon Sep 17 00:00:00 2001 From: Nicolas HENRY Date: Thu, 4 Apr 2019 10:39:34 +0200 Subject: [PATCH] set same typing to include and exclude properties --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 3677161..162d152 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!)