← Back to posts
Typescript 102
Published: 4/12/2026
in the last blog we learnt about why is typescript used and in this one we gonna learn where do we actually use it
When you just start learning typescript , most tutorial for the explanation purpose use too basic example
Such as
const name : string = "sadie" ;But actually you don’t need to specify types for generics when you are assigning them value , typescript compiler is smart enough to interpret that sadie is a string
So even if you do this
const name = "sadie" ;TS will automatically infer that sadie is a string and will give you autocomplete for properties like tolowercase etc