We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb215f commit 25a66f0Copy full SHA for 25a66f0
src/formatter/colors.ts
@@ -1,7 +1,5 @@
1
/* istanbul ignore file */
2
3
-import { Color } from 'chalk';
4
-
5
-export const FAILED_COLOR: typeof Color = 'redBright';
6
-export const ERROR_COLOR: typeof Color = 'red';
7
-export const WARNING_COLOR: typeof Color = 'yellow';
+export const FAILED_COLOR = 'redBright' as const;
+export const ERROR_COLOR = 'red' as const;
+export const WARNING_COLOR = 'yellow' as const;
0 commit comments