jaydenseric / graphql-upload

Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
https://npm.im/graphql-upload
MIT License
1.43k stars 131 forks source link

"Must use import to load ES Module" #335

Closed zachfagerness closed 1 year ago

zachfagerness commented 1 year ago

I am attempting to use the library but keep getting the error Must use import to load ES Module, I am using TS and import syntax

jaydenseric commented 1 year ago

See https://github.com/jaydenseric/graphql-upload/issues/334#issuecomment-1236223984 .