Could anyone provide an explanation of what this TypeScript declaration means? I understand that type and interface can be used to define new data types, but this particular statement is confusing to me.
type ParameterizedContext<StateT = DefaultState, CustomT = DefaultContext> = ExtendableContext & {
state: StateT;
} & CustomT;
I came across this code snippet on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/koa/index.d.ts
Your help would be greatly appreciated,