Kyrylo Reznykov
Oct 24, 2019 · 1 min read

I came to the same conclusions after some experience with TS and reading documentation. So single any in a call-stack means that you already can’t trust other type annotations completely.

Compiler likes it:

const x: any = {};
const y: any = {};
const r: number = x + y;

any is the worst part of TS. All serious projects should ban usage if it right from the start.

    Kyrylo Reznykov

    Written by

    I am a skillful developer who has experience in mobile development, enterprise java applications, and ultra-modern UI interfaces with offline-first design.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade