Skip to content

Any Abuse

Easy — everyone uses thislanguages

ELI5 — The Vibe Check

Any abuse is sprinkling any through your TypeScript to shut the compiler up. Each any is a TypeScript gun pointed at your foot. Eventually one of them fires and you're back to JavaScript with extra steps.

Real Talk

any abuse is the overuse of TypeScript's any type to bypass type checking. Each occurrence disables type safety for that value and transitively for anything derived from it. Linters (typescript-eslint's no-explicit-any, no-unsafe-* rules) can enforce stricter usage. Preferred alternatives: unknown, narrow generics, and runtime validation at boundaries.

When You'll Hear This

"Stop the any abuse — use unknown and narrow it." / "Our tsconfig caught 80 cases of any abuse once we enabled strict."

Made with passive-aggressive love by manoga.digital. Powered by Claude.