ms
ms copied to clipboard
'esModuleInterop' flag and referencing its default export.ts
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.ts(2497)

Which version are you using? Could you try using the latest canary version which has ES Modules support?
Which version are you using? Could you try using the latest
canaryversion which has ES Modules support?
"ms": "3.0.0-canary.1",
Ah, I think I see the issue. Your types are coming from @types/ms, but with the 3.0 release, types are included with the ms package directly. You can remove @types/ms.