conventions.io

Tech Challenge

2026-07-13

🔷

Daily Tech Challenge

TypeScript

medium
Question 1 of 5

Using the built-in `ThisParameterType` utility type below, what is the resolved type of `T`?

Example
function toHex(this: number, radix?: number): string {
  return this.toString(radix ?? 16);
}

type T = ThisParameterType<typeof toHex>;

Monday, July 13, 2026 · A new challenge drops every day