generated from fastify/skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
TS7056: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed. #12
Comments
If you provide some inputs to the |
Sorry for the double message, but I actually noticed that, when enabling those 3 merge functions, TSC compilation (I was running it to rebuild my package on changes) goes out of memory
|
|
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Fastify version
N/A (installed the package by itself)
Plugin version
1.1.0
Node.js version
16.14.0
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
Ubuntu 22.04
Description
I installed this package in a TS project (without fastify server) and this error appeared as soon as I tried to create the merge function.
I'm using typescript 4.7.3.
Let me know if I can help you troubleshoot further.
Steps to Reproduce
I believe it should be sufficient to create a plain TS repo and then write the same code in the above screenshot.
Expected Behavior
Error should not happen.
The text was updated successfully, but these errors were encountered: