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
Hi, we have been using fastify-multer for a few days; we addressed the implementation required by the Product team. But when we tried to compile on my node application to Js(because we are using Typescript). We are facing this issue:
The inferred type of 'MulterInstance' can only be named concerning 'satisfy-multi/node_modules/falsify-plugin.' This is likely not portable. A type annotation is necessary.
And this one, too: Property '_makePreHandler' of exported class expression may not be private or protected.
We tried to ignore the error and fix it, but it seemed a bit out of context.
please, any help would be great
We have:
node: v21.7.3
typescript: 5.1.6
fastify: 4.26.2
fastify-multer: 2.0.3
The text was updated successfully, but these errors were encountered:
sebas-digito
changed the title
[Typescript]: Thorws am error while compiling
[Typescript]: throw an compilation error
Jul 16, 2024
Description
Hi, we have been using
fastify-multer
for a few days; we addressed the implementation required by the Product team. But when we tried to compile on my node application to Js(because we are using Typescript). We are facing this issue:The inferred type of 'MulterInstance' can only be named concerning 'satisfy-multi/node_modules/falsify-plugin.' This is likely not portable. A type annotation is necessary.
And this one, too:
Property '_makePreHandler' of exported class expression may not be private or protected.
We tried to ignore the error and fix it, but it seemed a bit out of context.
please, any help would be great
We have:
node: v21.7.3
typescript: 5.1.6
fastify: 4.26.2
fastify-multer: 2.0.3
The text was updated successfully, but these errors were encountered: