While browsing through the documentation, I came across this generic type:
type GConstructor<T = {}> = new (...args: any[]) => T;
https://www.typescriptlang.org/docs/handbook/mixins.html
Above this line, there is a brief mention that it is a Generic Constraint. However, details about this particular constraint are not provided in the official documentation on Generic Constraints: https://www.typescriptlang.org/docs/handbook/2/generics.html#generic-constraints
So my question is, how exactly does <T = {}> operate? And what specific constraints does it impose?