TS2617
error TS2617:
path
can only be imported by usingimport path = require("node:path")
or by turning on theesModuleInterop
flag and using a default import.
Broken Code ❌
1 |
|
Fixed Code ✔️
1 |
|
error TS2617:
path
can only be imported by usingimport path = require("node:path")
or by turning on theesModuleInterop
flag and using a default import.
1 |
|
1 |
|