TypeScript

Introduction to Angular CLI

Angular CLI is a command line interface tool that can be used to create a project, generate components, do tests, bundling, deployment etc.

Decorators with TypeScript

JavaScript Decorators with TypeScript - decorator composition, class decorator, method decorator, property decorator

Tuples in TypeScript

Tuples in TypeScript - defining data type for array position

Intersection types in TypeScript

TypeScript intersection types. Intersection type will have all properties from types that were intersected.

TypeScript - Union types, type guards and type aliases

Union types We can use union types in TypeScript to combine multiple types into one type: let text: string | string[]; Variable text can now be either string or string array which can be pretty...