Lightning talk from John Wargo
summary
A concrete demo shows that adding @ts-check to a plain .js file makes Visual Studio Code run the TypeScript checker, surfacing real bugs: a wrong property name flagged instead of silently ignored (fixing readOnly vs read-only), a missing function call that turns an object comparison into a numeric test (add shipWeight()), and JSDoc-style type hints that change auto-complete from trend to trim so runtime errors get caught earlier.
AI-written summary · about
related talks
06mLightning talk from Krzysztof Żuraw
06mLightning talk from John Leidegren
11mMatt Bierner - SeattleJS Conference 2017
25mStatic types in JavaScript: what, how and why
36mStarting TypeScript Leaving JavaScript as JS
19mYou don't know TS: often unknown parts of TypeScript
40mTypeScript: State of the Union
23mJSDocs: It's like TypeScript but without all that TypeScript
