Extreme
Get Readonly Keys
Implement a generic GetReadonlyKeys<T>
that returns a union of the readonly keys of an Object.
Query String Parser
You're required to implement a type-level parser to parse URL query string into a object literal t
Slice
Implement the JavaScript Array.slice
function in the type system. Slice<Arr, Start, End>
takes
Integers Comparator
Implement a type-level integers comparator. We've provided an enum for indicating the comparison r
Currying 2
Currying is the technique of converting a function that
Sum
Implement a type Sum<A, B>
that summing two non-negative integers and returns the sum as a strin
Multiply
**This challenge continues from 476 - Sum, it is recommended that you f
Tag
Despite the structural typing system in TypeScript, it is sometimes convenient to mark some types
Inclusive Range
Recursion depth in type system is one of the limitations of TypeScript, the number is around 45.
Sort
In this challenge, you are required to sort natural number arrays in either ascend order or descen
DistributeUnions
Implement a type Distribute Unions
, that turns a type of data structure containing union types i
Assert Array Index
Sometimes we want to use the good old for
-loop with an index to traverse the array, but in this
JSON Parser
You're required to implement a type-level partly parser to parse JSON string into a object literal
Subtract
Implement the type Subtraction that is -
in Javascript by using BuildTuple.
If the minuend is
CountReversePairs
Given an integer array nums, return the number of reverse pairs in the array.
A reverse pair is
Parameter Intersection
Given two parameter arrays, compute a third tuple representing the type of args required to satisf
Dynamic Route
Given below routes, infer its dynamic params. | Route | Params Type Defi