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:

  1. Your project uses "declaration": true in tsconfig.json.
  2. Your project is large or your types are very complex.
  3. You export your router as a single, large object.

How to Fix It

Related skills
Installs
First Seen