TransformableApi
A transformable API enhances the Raw
type by transformers.
Properties
raw
ts
raw: R;
Access to the raw API that the transformers will be installed on.
use
ts
use: (...transformers: Transformer<R>[]) => this;
Can be used to register any number of transformers on the API.
installedTransformers
ts
installedTransformers: Transformer<R>[];
Returns a readonly list or the currently installed transformers. The list is sorted by time of installation where index 0 represents the transformer that was installed first.