Skip to content

Commit 25a66f0

Browse files
committed
fix: fix breaking changes of chalk
1 parent 6fb215f commit 25a66f0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/formatter/colors.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/* istanbul ignore file */
22

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';
3+
export const FAILED_COLOR = 'redBright' as const;
4+
export const ERROR_COLOR = 'red' as const;
5+
export const WARNING_COLOR = 'yellow' as const;

0 commit comments

Comments
 (0)