type
hero BETA
Explore
Tracks
Advent of TS
New
Explore
Tracks
Advent of TS
New
Theme
Login
Support Us
Login

Completed Challenges

Primitive Data Types

BEGINNER
20
86
@dimitropoulos
2 years ago

Your TypeScript journey starts with these building blocks.

Absolute

MEDIUM
0
13
@typehero
6 months ago

Implement the Absolute type. A type that take string, number or bigint. The output should be a p

Get Return Type

MEDIUM
0
18
@typehero
6 months ago

Implement the built-in ReturnType<T> generic without using it.

For example

const fn = (v

Assign

HARD
0
3
@typehero
6 months ago

You have a target object and a source array of objects. You need to copy property from source to t

Simple Vue

HARD
0
9
@typehero
6 months ago

Implement a simpiled version of a Vue-like typing support.

By providing a function name `SimpleVu

Readonly

EASY
2
42
@typehero
6 months ago

Implement the built-in Readonly<T> generic without using it.

Constructs a type with all proper

All

MEDIUM
0
5
@typehero
6 months ago

Returns true if all elements of the list are equal to the second parameter passed in, false if the

Construct Tuple

MEDIUM
0
0
@typehero
6 months ago

Construct a tuple with a given length.

For example

type result = ConstructTuple<2> // expe

Remove Index Signature

MEDIUM
0
8
@typehero
6 months ago

Implement RemoveIndexSignature<T> , exclude the index signature from object types.

For example:

Built with by the Trash Devs community.
|TypeHero on GitHubTypeHero on Twitter
Privacy Policy | Terms of Service
©
2025 TypeHero