Closed rescandonvov closed 5 months ago
Recent versions of graphql-upload
has it's own built in types, via TypeScript flavour JSDoc comments in the published modules. @types/graphql-upload
shouldn't be installed anymore in projects; they are likely to cause you problems.
You can see the requirements for getting types to work properly documented here:
https://github.com/jaydenseric/graphql-upload/blob/v16.0.2/readme.md#requirements
Recently, I tried to install
graphql-upload@9.0.0
and@types/graphql-upload@8.0.3
on a minimal Typescript project. Then, I ran the build command and I got this conflict.Why does it happen? Do you know how I could fix it? I wouldn't like to install the higher graphql-upload version due to the complexity of installing it
This is my package.json
My tsconfig.json
nodejs: 20.10.0 os: Mac M1