TypeScript is incredible when it comes to writing code that you feel safe modifying and publishing. It does have some pitfalls, though, like the any type which is why many developers enable configuration options to disallow the any type. This is great, but TypeScript actually has some function built in that return the any type which can introduce subtle bugs to your code that you were not expecting. This is where Matt Pocock’s TS Reset library comes in. This fixes some of these less type safe features of TypeScript and makes it stricter and more secure.


Materials/References:

TS-Reset GitHub: https://github.com/total-typescript/ts-reset
Matt Pocock’s Channel: https://www.youtube.com/@mattpocockuk
Matt Pocock’s TS-Reset Video: https://youtu.be/bUts4HJJjV4


Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified


⏱️ Timestamps:

00:00 - Introduction
00:23 - ts-reset basics
03:32 - Other ts-reset fixes


#TSReset #WDS #TypeScript