Explore Library
TypeScriptInterfaces & Type Aliases

63 items

1

Implementing Interfaces in Classes

Slides / Video
2

Type Aliases Beyond Objects

Slides / Video
3

Interface vs Type Alias

Slides / Video
4

Declaration Merging of Interfaces

Slides / Video
5

Union Types via Type Aliases

Slides / Video
6

Intersection Types with Type Aliases

Slides / Video
7

Extending Interfaces with extends

Slides / Video
8

Index Signatures for Dynamic Keys

Slides / Video
9

Function Types with Interfaces and Aliases

Slides / Video
10

Readonly Properties in Types

Slides / Video
11

Optional Properties in Types

Slides / Video
12

Type Aliases with the type Keyword

Slides / Video
13

Declaring Interfaces for Object Shapes

Slides / Video
14

Extending Multiple Interfaces

Quiz
15

Nested Object Types

Quiz
16

Excess Property Checks

Quiz
17

Function Types

Quiz
18

Implementing Interfaces in Classes

Quiz
19

Index Signatures

Quiz
20

Call and Construct Signatures

Quiz
21

Optional Properties

Quiz
22

Readonly Properties

Quiz
23

Declaration Merging of Interfaces

Quiz
24

Type Alias Intersections

Quiz
25

Extending Interfaces

Quiz
26

Interface vs Type Alias

Quiz
27

Declaring an Interface

Quiz
28

Combining Aliases Wrong

Code Quiz
29

Recursive Structure Type

Code Quiz
30

Class Implementing Interface

Code Quiz
31

Literal Union Alias Case

Code Quiz
32

Excess Property Check

Code Quiz
33

Type Alias Cannot Merge

Code Quiz
34

Function Type Alias Syntax

Code Quiz
35

Extends vs Intersection

Code Quiz
36

Union Type Alias

Code Quiz
37

Extending an Interface

Code Quiz
38

Index Signatures

Code Quiz
39

Interface Declaration Merging

Code Quiz
40

Declaring an Interface

Code Quiz
41

Object Shape Type Alias

Code Quiz
42

Construct Signatures

Code Quiz
43

Function Type Interface

Code Quiz
44

Index Signatures

Flashcard
45

Function Type Signatures

Flashcard
46

Interface Declaration Merging

Flashcard
47

Call Signatures

Flashcard
48

Interface Declaration Syntax

Flashcard
49

Excess Property Checks

Flashcard
50

Nested and Composed Interfaces

Flashcard
51

Type Alias for Tuples

Flashcard
52

Type Alias for Primitives and Literals

Flashcard
53

Interfaces Extending Classes

Flashcard
54

Construct Signatures

Flashcard
55

Intersection Types

Flashcard
56

When to Use Interface vs Type

Flashcard
57

Type Alias for Object Shapes

Flashcard
58

Method Signatures

Flashcard
59

Type Alias for Function Types

Flashcard
60

Classes Implementing Interfaces

Flashcard
61

Interface vs Type Alias

Flashcard
62

Extending Interfaces

Flashcard
63

Extending Multiple Interfaces

Flashcard
FlashcardIntermediate

Index Signatures

Typing objects with dynamic property keys.

Question

How do you type an object with arbitrary string keys of the same value type?

Click to reveal answer