Skip to content

Commit

Permalink
fix(types): update chalk import (#2535)
Browse files Browse the repository at this point in the history
The import was importing as default but is not exported as
default. Now the import is importing `* as` so you don't have to use
the tsconfig option `esModuleInterop`
  • Loading branch information
AdeAttwood authored Apr 9, 2021
1 parent 2ab3c57 commit 89f9a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @commitlint/types/src/format.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {QualifiedRules} from './load';
import {RuleConfigSeverity} from './rules';

Expand Down

0 comments on commit 89f9a6d

Please sign in to comment.