Function definePrototypeSetter
- definePrototypeSetter<T extends { prototype: unknown }, P extends string, V>(
Class: T,
property: P,
setter: Setter<any, 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