typescriptvisual-studio-code

VS Code not doing type checking on typescript files


I'm trying to convert an existing codebase from flowtype to typescript, but VS Code will not report type errors in .ts files as expected.

enter image description here

Running tsc works as expected:

enter image description here

What could I be missing here?


Solution

  • Welp, uh...

    I had the "TypeScript and JavaScript Language Features" extension disabled in my workspace.

    Yep, that'll do it...

    In case anyone in the future is as stupid as I am, check: VS Code Extensions > Disabled.