Code QuizAdvanced

ThisParameterType needs a type

ThisParameterType<T> must be given a function type via typeof.

Codetypescript
function describe(this: { title: string }, prefix: string): string {
  return `${prefix}: ${this.title}`;
}

type Ctx = ThisParameterType<describe>; // Error

What is the bug in the ThisParameterType usage?