Function: createClassDecorator()
createClassDecorator<
TFunction>(fn:TFunction):ClassDecorator
Defined in: utils.ts:43
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