TypeScript & JavaScript
TypeScript extends JavaScript by adding static types to the language, enhancing code quality and readability for large-scale JavaScript applications.
- Introduction to reflect-metadata package and its ECMAScript proposal
In this lesson, we are going to take a look at the reflect-metadata package used by TypeScript to design decorators. This package is primarily used as a polyfill for the Reflect API's "metadata-extension" ECMAScript proposal.
- A quick introduction to Type Declaration files and adding type support to your JavaScript packages
In this lesson, we are going to take a closer look at type declaration files which are one of the key ingredients of TypeScript's vast type system. We will also learn to write custom type declarations for a JavaScript package.
- A brief introduction to TypeScript's command-line interface and compiler settings
In the previous lesson, we learned how to tweak the TypeScript compiler to produce the desired compilation result using the tsconfig.json file. In this lesson, let's learn how to use the tsc command-line options to do the same.
- Understanding TypeScript's Compilation Process & the anatomy of tsconfig.json file to configure TypeScript Compiler
In this lesson, we are going to learn about the settings of the TypeScript compiler and the usage of the tsconfig.json file.
- A comprehensive guide to Module System in TypeScript
In this lesson, we are going to take a look at how the ECMAScript module system works and how TypeScript implements module resolution strategies. In the end, we are going to learn how to create and publish a sample module written in TypeScript.
- Employing Namespaces in TypeScript to encapsulate your data
In this lesson, we are going to learn about the precursor of the ECMAScript module implemented purely in TypeScript. These are called namespaces and they are quite fascinating.
- A quick introduction to Promises and Async/Await
In this lesson, we are going to learn about ES6 Promises implementation in TypeScript and async/await syntax.
- Let's quickly understand how Polymorphism works in TypeScript
In this lesson, we are going to look at some of the basic polymorphic principles provided by the language.
- A brief introduction to Data Immutability in TypeScript
In this lesson, we are going to learn a few techniques to make values immutable, both at compile-time and at runtime.
- Exploring the world of Generics (generic data types) in TypeScript
In this lesson, we are going to dive into a sophisticated yet beautiful world of Generics. Generics gives us the ability to create highly composable and dynamic types.
- Taking a look at must-know utility types provided by TypeScript
In this lesson, we are going to learn about the generic types provided by TypeScript out of the box. These types are helpful to construct new types from existing types with some behavioral change.
- Understanding the TypeScript's type system and some must-know concepts
In this lesson, we are going to learn about the fundamentals of TypeScript and how TypeScript manages types. This lesson includes topics such as type assertion, type interference, type unions, type guards, structural typing, and other important concepts that you should absolutely know about.
- Introduction to class data type and Object-Oriented Programming paradigm in TypeScript
In this lesson, we are going to learn about classes, interfaces, and the basic concepts Object-Oriented Programming paradigm in TypeScript.
- A simple guide to interface data type in TypeScript
In this article, we are going to learn about the interface type to enforce restrictions on the shape of objects.
- Working with Enumerations (Enums) in TypeScript
In this article, we are going to talk about the Enum data structure and its use cases. TypeScript provides an easy to use API to work with enums, both as a type and as a value.
- A simple guide to function data type and function declaration syntax in TypeScript
In this lesson, we are going to learn about functions, function type in TypeScript, spread operator, rest parameters, function overloading, and other function related lessons.
- Understanding the basic Built-in Data Types provided by TypeScript
In this lesson, we are going to learn about the building blocks of TypeScript's type system. Here, we are mainly going to focus on the primitive data types provided by the TypeScript.
- Writing your first Hello World program in TypeScript with ease
In this lesson, we are going to learn about the basic structure of a TypeScript program and understand a few concepts of the compilation process. Then we will see how we can run the compiled JavaScript program using node and ts-node.
- A beginner's guide to TypeScript
In this lesson, we are going to learn how TypeScript came into existence and what problem it solves. We are also going to take a glance at the TypeScript compilation process.