Function definePrototypeConstant
- definePrototypeConstant<T, P, V>(Class, property, value, options?): any | T & {
readonly [K in P]: V
} Type Parameters
- T extends {
prototype: unknown;
} - P extends string
- V
Returns any | T & {
readonly [K in P]: V
}
Class
name of the property