Harshit Jain

Harshit Jain

Subscribe to my newsletter and never miss my upcoming articles

TypeScript Best Practices #2 – Use More Precise Type Than ‘string’

Sep 21, 20214 min read

Introduction The best thing about typescript is that you can always start by using just the basic features of the language. You don't have to use every advanced feature of it right from the beginning. You can incrementally learn and implement stricte...

TypeScript Best Practices #2 – Use More Precise Type Than ‘string’
Typescript Best Practices #1 - Always prefer 'Type Declaration' over 'Type Assertion'