Skip to content

Type Alias: ClassDecorator<Constructor> ​

ClassDecorator<Constructor> = (target) => Constructor | void

A class decorator typed by the class it decorates: it receives the constructor, and returns it, a replacement, or nothing.

Type Parameters ​

Constructor ​

Constructor extends IConstructor

Parameters ​

target ​

Constructor

Returns ​

Constructor | void

Released under the MIT License.