Fixed type for clearConsole to be boolean (#20276)

Using false would result in an error.
This commit is contained in:
Michael A. Volz (Flynn)
2017-10-04 22:27:14 +09:00
committed by Masahiro Wakame
parent 0840a8fe71
commit a0c42fa0c2
+1 -1
View File
@@ -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>;
}