#typescript
Read more stories on Hashnode
Articles with this tag
Integrating TypeScript with JS libraries To integrate we can have three solutions. Use a library normally, adding basic type annotations wherever...
For having different types of values associated with variable we can use an object and have keys attached to our requirement. const MatchResult = { ...
What is a Tuples Tuple is an array like structure where each element at every index represents some property of a record. But the difference is that...
Why we need Interfaces The interplay between Interfaces and Classes is how we will get a strong code re-use in TypeScript. Interfaces create a new...
Generics are like function arguments, but for types in class and function definitions in TypeScript. Generics always allows us to define the type of a...
What is a Decorator In this blog we will look into what is the purpose of adding decorators in TypeScript code. We will go through the definition, the...