Function definePrototypeConstant
- definePrototypeConstant<T extends { prototype: unknown }, P extends string, V>(
Class: T,
property: P,
value: V,
options?: EnumerableOptions,
): 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