TypeScript Interview Questions - Coding Interview 2024
Introduction
Setting up Typescript
(04:45)
Javascript vs Typescript
(03:41)
Does Typescript improve our code out of the box?
(02:28)
Pdf file
(01:11)
I prepared source code for you
(00:22)
Core Typescript
How to define basic types inside Typescript?
(05:17)
What is the difference between explicit vs implicit types?
(03:57)
Type a function getFullName correctly
(03:47)
What is interface in Typescript?
(05:11)
What is type in Typescript?
(02:47)
What is the difference between an interface and a type?
(06:04)
What is union in Typescript?
(05:11)
How to narrow the union in Typescript?
(06:00)
What is void in Typescript?
(01:40)
What is never in Typescript?
(01:26)
What is any in Typescript?
(03:35)
What is unknown in Typescript?
(05:39)
How to work with DOM in Typescript?
(07:54)
How to work with classes in Typescript?
(08:12)
What is an enum in Typescript?
(05:54)
What are generics in Typescript?
(14:20)
What is a tuple in Typescript?
(03:46)
What is optional property in Typescript?
(04:18)
How to cover dynamic keys in the object?
(04:41)
What is index signature in Typescript?
(02:10)
What is a record type in Typescript?
(01:25)
What is omit and pick in Typescript?
(03:01)
What is readonly in Typescript?
(01:44)
What is partial in Typescript?
(02:46)
What is required in Typescript?
(01:10)
How to use Typescript together with React?
(11:40)
What is type inference in Typescript?
(01:00)
What is literal type in Typescript?
(01:59)
What is tsconfig.json file?
(02:40)
What are the core components of Typescript?
(01:08)
How to transpile Typescript to Javascript?
(02:00)
What is d.ts file in Typescript?
(03:14)
What is map file in Typescript?
(01:45)
Advanced Typescript
Introduction for advanced section
(01:38)
What is function overloading in Typescript?
(06:17)
What is extends in Typescript?
(03:25)
What is infer in Typescript?
(05:52)
Do it yourself - readonly
(02:38)
Do it yourself - first
(02:08)
Do it yourself - tuple length
(01:01)
Do it yourself - if
(01:01)
Do it yourself - concat
(01:17)
Homework
(00:56)
Does Typescript improve our code out of the box?