The inferred type of this node exceeds the maximum length the compiler will serialize.
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1146916941437616239/image.png)
6 Replies
What are the contents of
../header
?
Is that file importing this one?header are just procedures and the router
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1146927387691466752/image.png)
Double check that this file isn't part of a circular import.
Also, if you have an
awsRouter
, if you tab-completed and changed the var to appRouter, the TS-lang server might need a restart. I've seen it get stuck like this before.@sudoer_with_an_opinion The error goes away when removing some of the routers, maybe its just too many as the error stated?
Fixed with:
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1147023824160829520/image.png)
![sudosus](https://cdn.discordapp.com/emojis/918046772427911220.png)