The First Steps to TypeScript

TypeScript is a programming language that adds type annotations and other features to JavaScript. TypeScript code can be transpiled to JavaScript, which can run on any browser or platform. TypeScript is designed for developing large applications with better tooling and error detection.

This series of tutorials aim to help you learn the basic of TypeScript.

1 What is TypeScript and Benefits of Using It

2 How to Compile TypeScript in Browser Environment

3 TypeScript: Complete ‘Hello World’ Example

4 TypeScript: Transforming Union Types into Intersection Types

5 Working with Numbers in TypeScript

6 TypeScript: Object with Optional Properties

7 Working with Boolean in TypeScript

8 Understanding Type Inference in TypeScript

9 Understanding the 'Any' Type in TypeScript

10 Delayed Initialization and Implicit 'Any' in TypeScript

11 Working with Strings in TypeScript: A Complete Guide

12 Object Types in TypeScript: A Practical Guide

13 Using Nested Object Types in TypeScript

14 Array Types in TypeScript: A Complete Guide

15 Tuples in TypeScript: A Complete Guide

16 Enums in TypeScript: A Developer's Guide

17 Union Types in TypeScript: A Depth Guide

18 Literal Types in TypeScript: A Comprehensive Guide

19 Readonly Properties of Object in TypeScript: Explained with Examples

20 TypeScript: Excess Property Checks in Object Literals

21 How to Create Type Aliases in TypeScript: A Deep Dive

22 Intersection Types in TypeScript: Tutorial with Examples

23 How to Use Variables to Set Object Keys in TypeScript

24 Multidimensional Array in TypeScript: A Complete Guide

25 Function Parameters Annotations in TypeScript: A Practical Guide

26 Mastering Function with Default Parameters in TypeScript

27 Function and Return Type Annotations in TypeScript

28 TypeScript Anonymous Function Typing: A Complete Guide

29 Understanding the 'Void' Type in TypeScript

30 Understanding the 'Never' Type in TypeScript

31 Type Narrowing in TypeScript: Tutorial & Examples

32 TypeScript: Using Union Types and Arrays

33 How to Merge Multiple Objects in TypeScript (2 Approaches)

34 How to Define Interfaces in TypeScript

35 TypeScript: Readonly and Optional Properties in Interface

36 TypeScript Interface Method and Method Parameters

37 How to Reopen an Interface in TypeScript

38 How to Extend an Interface in TypeScript

39 Multiple Inheritance of Interface in TypeScript

40 Interfaces vs Type Aliases in TypeScript: A Comparison

41 How to compile TypeScript in the Watch Mode (Automatic Compilation)

42 Understanding the tsconfig.json file in TypeScript

43 Compiling TypeScript with the ‘noEmitOnError’ Flag

44 TypeScript Non-Null Assertion Operator: A Complete Guide

45 Mastering Type Assertion in TypeScript

46 TypeScript and DOM Manipulation: A Complete Guide

47 TypeScript and Window Object: A Complete Guide

48 TypeScript and Form Handling: A Complete Guide

49 Annotating Class with TypeScript: A Complete Guide

50 Typing Class Properties in TypeScript: A Developer's Guide

51 'readonly' Class Properties in TypeScript

52 TypeScript & Class Constructor: A Complete Guide

53 Class Public and Private Access Modifiers in TypeScript

54 Class Getter and Setter in TypeScript: A Complete Guide

55 How to Create Abstract Classes in TypeScript

56 How to Use the 'Protected' Modifier in TypeScript

57 Class Inheritance in TypeScript: A Complete Guide

58 Class vs Interface in TypeScript: Some Key Differences

59 TypeScript Generic Array: A Complete Guide

60 TypeScript Generic Function: A Complete Guide

61 TypeScript Generic Object: A Practical Guide

62 Inferred Generic Type in TypeScript - A Deep Dive

63 Using Generic with Class in TypeScript: A Complete Guide

64 Generics with Multiple Types in TypeScript: A Complete Guide

65 TypeScript Generics and Union Types: A Complete Guide

66 TypeScript Generics and Intersection Types: A Complete Guide

67 Adding Type Constraints in TypeScript Generics

68 Working with Type Predicates in TypeScript

69 Discriminated Unions in TypeScript: A Complete Guide

70 Exhaustiveness Checking with 'never' Type in TypeScript

71 Instanceof Type Guard in TypeScript: A Complete Guide

72 Truthiness and Falsiness in TypeScript: A Complete Guide

73 Null and Undefined in TypeScript: A Practical Guide

74 Equality Operators in TypeScript: A Complete Guide

75 Type Declaration Files in TypeScript: A Complete Guide

76 Namespaces in TypeScript: A Complete Guide

77 Using Multiple Types in an Array in TypeScript

78 Long Type Annotations in TypeScript: A Comprehensive Guide

79 Decorators in TypeScript: A Comprehensive Guide

80 Property Descriptor in TypeScript: A Complete Guide

81 Wrapping Methods with Decorators in TypeScript

82 Decorator Factories in TypeScript: A Complete Guide

83 TypeScript: How to Create a New Type from an Old Type

84 Using 'Keyof' Type Operator in TypeScript

85 Using 'Typeof' Type Operator in TypeScript

86 Understanding Indexed Access Types in TypeScript

87 Understanding strictNullCheck Option in tsconfig.json File

88 How to Check Non-Null Values in TypeScript

89 Using BigInt and Symbol in TypeScript

90 How to Use Mapped Types in TypeScript

91 How to Use Template Literal Types in TypeScript

92 Iterators and Generators in TypeScript: A Complete Guide

93 Working with Record and Pick Types in TypeScript

94 TypeScript: Excluding getter-only properties from type

95 TypeScript: How to Constrain Array with Fixed Length

96 How to declare ‘callback’ function type in TypeScript

97 How to create custom global interfaces in TypeScript

98 TypeScript: How to Check if a Property Exists in an Object

99 TypeScript: How to Check if a String is Empty

100 TypeScript: Force Positive Number with '+' Sign

101 TypeScript: Force Negative Number with '-' Sign

102 How to Properly Use '!' (Exclamation Mark) in TypeScript

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments