Variable DecoratorsConst

Decorators: {
    register: ((name, dec) => void);
} = ...

Decorator factory. Call register to add a new decorator type.

Type declaration

  • register: ((name, dec) => void)

    Register a decorator type, which you can then reference by name.

Version :