Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Typescript]: throw an compilation error #34

Open
sebas-digito opened this issue Jul 16, 2024 · 0 comments
Open

[Typescript]: throw an compilation error #34

sebas-digito opened this issue Jul 16, 2024 · 0 comments

Comments

@sebas-digito
Copy link

sebas-digito commented 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

@sebas-digito sebas-digito changed the title [Typescript]: Thorws am error while compiling [Typescript]: throw an compilation error Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant