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