You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("ofetch")' call instead.
Describe the bug
The type declarations are not compatible with NodeNext
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
TS 5.1.3
Reproduction
tsconfig.json
index.ts
Error: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("ofetch")' call instead.
Describe the bug
The type declarations are not compatible with
NodeNext
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: