TypeScript

TypeScript is a programming language developed by Microsoft that builds on JavaScript by adding static type definitions. It enables developers to catch errors early through type checking, enhances code readability, and supports modern JavaScript features. TypeScript compiles down to plain JavaScript, ensuring compatibility with existing JavaScript code and libraries. Its tooling provides powerful features like autocompletion, navigation, and refactoring, making it easier to develop and maintain complex applications.

TypeScript Tutorial

1
TS Introduction
10 minutes

TypeScript is a statically typed superset of JavaScript that adds optional type annotations and advanced features for improved code quality and development efficiency.

2
TS Get Started
10 minutes

TypeScript Getting Started refers to setting up the TypeScript compiler and tools to begin writing and transpiling TypeScript code in a local project.

3
Configuring the compiler
10 minutes

Configuring the compiler involves setting up TypeScript's options and behavior through a tsconfig.json file to customize how code is compiled and type-checked.

4
TS Simple Types
10 minutes

TS Simple Types" refers to the basic data types in TypeScript, such as number, string, boolean, null, and undefined.

5
Implicit Type
10 minutes

An implicit type is a type automatically inferred by TypeScript based on the value assigned to a variable or expression, without explicit type annotation.

6
TS Special Types
10 minutes

TypeScript special types include any, unknown, never, void, and undefined, each serving specific roles in type checking and safety.

7
Type: unknown
10 minutes

In TypeScript, unknown is a type-safe counterpart of any that ensures you can't use a value of type unknown without narrowing its type first.

8
Type: never
10 minutes

In TypeScript, never represents a type that contains no values and is used to indicate a function that never returns or an impossible type.

9
TS Arrays
10 minutes

In TypeScript, arrays are collections of elements of a specific type, defined using square brackets or the Array<T> syntax.

10
TS Tuples
10 minutes

In TypeScript, tuples are arrays with fixed sizes and specific types for each element, allowing for more precise type definitions.

11
TS Object Types
10 minutes

In TypeScript, object types define the shape of objects by specifying the properties and their types.

12
TS Enums
10 minutes

In TypeScript, enums are a way to define a set of named constants, which can be numeric or string values.

13
TS Aliases and Interfaces
10 minutes

In TypeScript, aliases and interfaces define custom types, with aliases providing type shorthand and interfaces allowing for more structured type definitions and extensions.

14
TS Union Types
10 minutes

In TypeScript, union types allow a variable to hold values of multiple specified types.

15
TS Functions
10 minutes

In TypeScript, functions are defined with specific parameter and return types, ensuring type safety and correctness in function usage.

16
TS Casting
10 minutes

Function types can be defined separately from functions using type aliases.

17
Casting with
5 minutes

In TypeScript, casting with <> is a way to assert the type of a value, allowing you to treat it as a specific type.

18
TS Classes
10 minutes

In TypeScript, classes are blueprints for creating objects with defined properties and methods, supporting object-oriented programming features such as inheritance and encapsulation.

19
Parameter Properties
10 minutes

In TypeScript, parameter properties allow you to define and initialize class properties directly in the constructor parameters.

20
Inheritance: Extends
10 minutes

In TypeScript, inheritance using extends allows a class to inherit properties and methods from another class, enabling reuse and extension of functionality.

21
TS Basic Generics
10 minutes

Basic generics in TypeScript allow functions, classes, and types to operate with various data types while maintaining type safety and reusability.

22
TS Utility Types
10 minutes

Utility types in TypeScript are built-in types that help manipulate and transform other types for more flexible and reusable code.

23
Exclude
10 minutes

Exclude creates a type by excluding specific types from a union type.

24
TS Keyof
10 minutes

Keyof creates a union type of all property keys of a given type.

25
TS Null
10 minutes

null represents the intentional absence of any object value or the lack of a value.

26
TS Definitely Typed
10 minutes

Definitely Typed is a repository of TypeScript type definitions for popular JavaScript libraries.

27
TS 5 Updates
10 minutes

TypeScript 5 updates introduce new features, enhancements, and improvements to the TypeScript language and tooling.

Be the first to add a review.

Please, login to leave a review
Start course
Enrolled: 1230 students
Lectures: 27
Level: Beginner

Archive

Working hours

Monday 9:30 am - 6.00 pm
Tuesday 9:30 am - 6.00 pm
Wednesday 9:30 am - 6.00 pm
Thursday 9:30 am - 6.00 pm
Friday 9:30 am - 5.00 pm
Saturday Closed
Sunday Closed
TypeScript