Skip to content

Commit

Permalink
Update chalk import for chalk v5.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhitfield3 committed May 21, 2024
1 parent 4c9f4c4 commit e9ec49e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/color.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ansiStyles from 'ansi-styles'
import * as supports from 'supports-color'
import chalk from 'chalk'

const chalk = require('chalk');

const dim = process.env.ConEmuANSI === 'ON' ? chalk.gray : chalk.dim

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"alwaysStrict": true,
"declaration": true,
"importHelpers": true,
"module": "commonjs",
"module": "commonJS",
"esModuleInterop": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "./lib",
Expand Down

0 comments on commit e9ec49e

Please sign in to comment.