Completed Challenges
Get Return Type
MEDIUM
0
18
@typehero
10 months ago
Implement the built-in ReturnType<T>
generic without using it.
For example
const fn = (v
Omit
MEDIUM
0
16
@typehero
10 months ago
Implement the built-in Omit<T, K>
generic without using it.
Constructs a type by picking all pr
Awaited
EASY
16
57
@typehero
10 months ago
If we have a type which is a wrapped type like Promise, how can we get the type which is inside th
Generic Type Arguments
BEGINNER
10
75
@dimitropoulos
2 years ago
Generic types are like function arguments.
Concat
EASY
0
17
@typehero
10 months ago
Implement the JavaScript Array.concat
function in the type system. A type takes the two argument
Primitive Data Types
BEGINNER
20
87
@dimitropoulos
2 years ago
Your TypeScript journey starts with these building blocks.
Type Aliases
BEGINNER
6
61
@dimitropoulos
2 years ago
You can create multiple names for the same type.
Literal Types
BEGINNER
23
49
@dimitropoulos
2 years ago
TypeScript can be more specific than string
or number
. It can remember literal values.
Index Signatures
BEGINNER
8
65
@dimitropoulos
2 years ago
Index signatures allow us to handle types where the properties are a non-specific literal value.