Commit 9f534a9
Tajudeen
Fix rimraf import: use require() for CommonJS rimraf 2.2.8
- Change from 'import * as rimrafModule' to 'const rimrafModule = require()'
- Fixes TS2349 error: Type 'typeof rimraf' has no call signatures
- rimraf 2.x is a pure CommonJS module without ES module wrapper1 parent 216cae5 commit 9f534a9
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments