We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d45823c commit 865ea05Copy full SHA for 865ea05
packages/react-dev-utils/typescriptFormatter.js
@@ -28,7 +28,7 @@ function formatter(message, useColors) {
28
}
29
: message;
30
31
- const colors = new chalk.Instance({ enabled: useColors });
+ const colors = new chalk.constructor({ enabled: useColors });
32
const messageColor = message.isWarningSeverity() ? colors.yellow : colors.red;
33
const fileAndNumberColor = colors.bold.cyan;
34
0 commit comments