Closed jakeleventhal closed 1 month ago
You need to put "type": "module",
into the package.json
. I'll make a mention of this in the README as well.
@jakeleventhal off-topic, but you might be interested to know you can manage your package manager version through your package.json
with Corepack and the packageManager
field.
https://github.com/jakeleventhal/graphql-request-type-issue
You closed the issue where this was being discussed: https://github.com/jasonkuhrt/graphql-request/issues/845#issuecomment-2113924523
Reopening. I updated the tsconfig to node16 and the issue persists. I updated the readme accordingly