Function: createClassDecorator()
createClassDecorator<
TFunction
>(fn
:TFunction
):ClassDecorator
Utility to make a class decorator with lighter syntax and inferred types.
Type Parameters
Type Parameter |
---|
TFunction extends (...args : any []) => void |
Parameters
Parameter | Type | Description |
---|---|---|
fn | TFunction | The class to decorate |
Returns
ClassDecorator