Personal portfolio - Mauricio Aznar

Interview topics - Typescript

 

Types


What is typescript


Using types


Numbers, Strings & Booleans


Types Assignment & Types Inference


Object Types


Array Types


Tuples


Enums


Union Types


Type Guards


Function Return Type & void


Functions as Types, Function Types & Callbacks


Any, unknown, never Types


Classes & Interfaces


Defining Classes


Constructor Functions


Private & public access modifiers


Shorthand Initialization


readonly Modifier


Inheritance


Properties Overriding & protected Modifier


Getters & Setters


Static Methods & Properties


Abstract Classes


Interfaces


Using Interfaces with Classes


Extending Interfaces


Advanced Types


Intersection Types


Discriminated Unions


Types Casting


Indexed Properties


Function Overloads


Generics


What are Generics?


Built-in Generics (Array, Promise, Partial, ReadOnly)


Generic Functions


keyof Constrain


Generic Classes