From a0c42fa0c2ec2b10c31999d9183f5f7026c3cf3d Mon Sep 17 00:00:00 2001 From: "Michael A. Volz (Flynn)" Date: Wed, 4 Oct 2017 15:27:14 +0200 Subject: [PATCH] Fixed type for clearConsole to be boolean (#20276) Using false would result in an error. --- types/friendly-errors-webpack-plugin/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/friendly-errors-webpack-plugin/index.d.ts b/types/friendly-errors-webpack-plugin/index.d.ts index 582dfadf57..7e2937c867 100644 --- a/types/friendly-errors-webpack-plugin/index.d.ts +++ b/types/friendly-errors-webpack-plugin/index.d.ts @@ -24,7 +24,7 @@ declare namespace FriendlyErrorsWebpackPlugin { notes: string[], }; onErrors?(severity: Severity, errors: string): void; - clearConsole?: true; + clearConsole?: boolean; additionalFormatters?: Array<(errors: WebpackError[], type: Severity) => string[]>; additionalTransformers?: Array<(error: any) => any>; }