When I try to use pgtyped I get the following in the generated files.
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("@pgtyped/runtime")' call instead.
To convert this file to an ECMAScript module, ...
Describe the bug
I'm working in a project with the following tsconfig
When I try to use pgtyped I get the following in the generated files.
Should this work? or am I doing something wrong?