oRPC Exceeds Maximum Length Problem
Installation
SKILL.md
Exceeds the Maximum Length Problem
// @error: The inferred type of this node exceeds the maximum length the compiler will serialize.
export const router = {
// many procedures here
}
Why It Happens
TypeScript enforces this to keep your IDE suggestions fast. It appears when:
- Your project uses
"declaration": trueintsconfig.json. - Your project is large or your types are very complex.
- You export your router as a single, large object.