TS 7056 (The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed) while creating a store #2580
-
|
Hello! I'm trying to create a store in my project, but I keep getting ts 7056 (The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed) on its declaration. Any idea on what I could do? I can get rid of the problem if I 1 - remove the type on my state; Not really sure what I should do because I have 5 others stores and all of them are complex enough to be compared to this one... Edit: I updated the print to the correct one. Twice. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Also happening to me any solution? |
Beta Was this translation helpful? Give feedback.
-
|
Does anybody have a boiled down reproduction of this I can check? |
Beta Was this translation helpful? Give feedback.


Well if anybody has this issue, they can open an issue with a boiled down repro