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>; // ErrorWhat is the bug in the ThisParameterType usage?