Skip to content

Commit 89f9a6d

Browse files
authored
fix(types): update chalk import (#2535)
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`
1 parent 2ab3c57 commit 89f9a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/types/src/format.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {QualifiedRules} from './load';
33
import {RuleConfigSeverity} from './rules';
44

0 commit comments

Comments
 (0)