From 0a5138eb79adaa63172df3e82176cf87c8a60708 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Sun, 22 Oct 2017 15:36:43 +0200 Subject: [PATCH] webpack: fix lint issues --- types/webpack/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 228ade7521..d13311d7bb 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -669,7 +669,7 @@ declare namespace webpack { /** Add information about cached (not built) modules */ cached?: boolean; /** Show cached assets (setting this to `false` only shows emitted files) */ - cachedAssets?: true, + cachedAssets?: true; /** Add children information */ children?: boolean; /** Add built modules information to chunk information */ @@ -723,7 +723,7 @@ declare namespace webpack { /** Show which exports of a module are used */ usedExports?: boolean; /** Filter warnings to be shown */ - warningsFilter?: string | RegExp | (string | RegExp)[] | ((warning: string) => boolean); + warningsFilter?: string | RegExp | Array | ((warning: string) => boolean); /** Show performance hint when file size exceeds `performance.maxAssetSize` */ performance?: boolean; /** Show the exports of the modules */ @@ -732,7 +732,7 @@ declare namespace webpack { type ToJsonOptions = Preset | ToJsonOptionsObject; - type StatsExcludeFilter = string | string[] | RegExp | RegExp[] | ((assetName: string) => boolean) | ((assetName: string) => boolean)[]; + type StatsExcludeFilter = string | string[] | RegExp | RegExp[] | ((assetName: string) => boolean) | Array<(assetName: string) => boolean>; interface ToStringOptionsObject extends ToJsonOptionsObject { /** `webpack --colors` equivalent */