Module Compatible.GeneralDecorators
Decorator helpers that can apply to multiple element kinds (methods, properties, getters, setters, or accessors) depending on the options you supply.
Import
ts
import { GeneralDecorators } from '@litert/decorator/compatible';Functions
| Function | Description |
|---|---|
compose | Combine multiple general decorators into one. |
create | Create a general decorator callback supporting both legacy and modern transforms. |
Typings
See Typings for the public callback, context, and option contracts exported by this namespace.
| Type | Description |
|---|---|
ICreateOptions | The options used to create a compatible general decorator. |
ICallbackFn | The compatible general decorator callback signature. |