
Tech Talk: Typescript with Chris Krycho
CoRecursive: Coding Stories
00:00
TypeScript Enables Extensive Refactoring
The language server protocol TypeScript enables refactoring. It introspects your whole codebase, finds everywhere that's used and does it with a rename or you say, I want to find everywhere this is used throughout my codebase. If you're not using those things, then TypeScript can actually exhaustively tell you, hey, here's everywhere this is being used and you need to change it. But if you do have it fully and exhaustively checked and you don't use the escape hatch called 'any' which lets you assign anything to any type, they'll just be like, no man, you said any. So in TypeScript three, they introduced a different type called
Transcript
Play full episode