mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
Fixed type for clearConsole to be boolean (#20276)
Using false would result in an error.
This commit is contained in:
committed by
Masahiro Wakame
parent
0840a8fe71
commit
a0c42fa0c2
+1
-1
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user