Union in TypescriptUnion in typescript allows the variable to hold more than one type of value. It is useful when variable can be of various types. It is defined by | operator between types. //Simple Union let randomValue:string|number=12; randomValue="John Doe"; //ran...1 min read·krijanprajapati.com.npJul 13, 2024
Discussion on Type Annotations and Type Inferencediscussion on type annotation and type inference1 min read·krijanprajapati.com.npJul 12, 2024
Introduction to TypescriptIntroduction to typescript pros and cons of typescript2 min read·krijanprajapati.com.npJul 11, 2024
Things to learn when you are starting new in TypescriptLets get started with Typescript1 min read·krijanprajapati.com.npJul 9, 2024