// ets_tracing: off export interface CustomType

{ CustomType: { [p in P]: () => V } } export type AccessCustom = C extends CustomType< P, infer V > ? V : D export type AccessCustomExtends = C extends CustomType< P, infer V > ? V extends D ? V : D : D