Skip to content

Tag Archives: TypeScript

Template literal types in typescript are based on string literal types and may be expanded into many strings using unions. They have the same syntax… Read More
Classes: The class keyword was introduced in ES2015. TypeScript fully supports ‘class’ keyword. classes are a template for creating objects. A Class is a user… Read More
In this article, we will try to understand some basic details which are associated with the concept of function/method overloading, further will see how we… Read More
In Typescript, the term “declaration merging” refers to the compiler combining two declarations with the same name into a single definition. Both of the initial… Read More
In this article, we will try to understand all the facts as well as the details associated with Generics in TypeScript along with some coding… Read More
In Typescript, Although intersection and union types are similar, they are employed in completely different ways. An intersection type is a type that merges several… Read More
In this article, we will learn how to compile multiple Typescript files into a single file. There are two approaches that can be followed here:… Read More
In Typescript, by default, the visibility of all properties or methods in Typescript classes is “public“. A method with which is public can be accessed… Read More
In Typescript an implements clause can be used to verify that a class conforms to a specific interface. If a class fails to implement an… Read More
The string literal type was added in TypeScript version 1.8. String literal types work well with union types and type aliases in practice. These properties… Read More
In Typescript, Type assertion is a technique that informs the compiler about the type of a variable. Type assertion is similar to typecasting but it… Read More
The Arrow/ lambda function is a concise form of a normal function in Typescript. Arrow functions are also known as lambda functions. We use “=>”… Read More
React Native is used to creating apps for Both Android and iOS platforms. It allows you to use a single codebase for both platforms. One… Read More
Typescript variable declarations are similar to Javascript. Each keyword has a specific scope. Let’s learn about variable declarations in this article. In Typescript variables can… Read More
In this article, we will try to understand all the facts which are associated with enums in TypeScript. TypeScript enum: TypeScript enums allow us to… Read More

Start Your Coding Journey Now!