Practical solutions

TypeScript Howtos How-To Guides

Solve the problem. Keep building. Collection of TypeScript how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

Global Variable in TypeScriptThis tutorial teaches the reader how to create global variables in TypeScript. Multiple Inheritance in TypeScriptThere is no direct way to implement multiple inheritance for a class in TypeScript. It only allows interfaces to inherit from multiple parent classes; hence, we can implement multiple inheritance using TypeScript mixins. Typed Functions as Function Parameters in TypeScriptThis tutorial demonstrates how to use typed functions as function parameters in TypeScript. Switch Case in TypeScriptThis tutorial demonstrates how to use a switch case in TypeScript Default Value for Object Parameters in TypeScriptThis tutorial demonstrates how to set default values for objects in TypeScript. Static Class in TypeScriptThis tutorial defines the solution of how to use static class in TypeScript. This will provide complete coding examples of defining the static class in TypeScript with a complete demonstration of each and every single step. Nullable Type in TypeScriptThis tutorial demonstrates the concept of nullable type in TypeScript. Hashmap and Dictionary Interface in TypeScriptThis tutorial teaches the core concepts of how Hashmap or Dictionary can be implemented in TypeScript by defining its interfaces, it also gives the knowledge of why interfaces are used in TypeScript. React Event Types in TypeScriptThis tutorial demonstrates how to add type support to React events in TypeScript. Intefaces vs Types in TypeScriptThis article compares Interfaces and Types in TypeScript