Commit 5bc52ea
committed
build: set
This issue appeared after lock file maintenance, and is visible when building after recreating `package-lock.json`.
```
node_modules/@commitlint/types/lib/format.d.ts:1:8 - error TS1259: Module '"/home/jdebruijn/projects/commitlint-plugin-function-rules/node_modules/chalk/index"' can only be default-imported using the 'esModuleInterop' flag
1 import chalk from 'chalk';
~~~~~
node_modules/chalk/index.d.ts:415:1
415 export = chalk;
~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
Found 1 error.
```esModuleInterop to true to fix @commitlint/types import1 parent 6e97095 commit 5bc52ea
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments