Skip to content

Type Alias: PropertyDecorator<ClassPrototype> ​

PropertyDecorator<ClassPrototype> = (target, propertyKey) => void

A property decorator typed by the class prototype it decorates: it receives the prototype and the property name.

Type Parameters ​

ClassPrototype ​

ClassPrototype

Parameters ​

target ​

ClassPrototype

propertyKey ​

string | symbol

Returns ​

void

Released under the MIT License.