How Proxies Cripple Static Type Inference

Proxies can return arbitrary values from their `get` trap, directly breaking static type inference and making it impossible for tools like TypeScript to accurately determine an object's runtime shape or expected behavior.

Sources

Open the full topic