@microsoft/fast-foundation > Factory > registerTransformer
Factory.registerTransformer() method
Registers a transformer function to alter the object after instantiation but before returning the final constructed instance.
Signature:registerTransformer(transformer: Transformer<T>): void;
Parameters
Parameter | Type | Description |
---|---|---|
transformer | Transformer<T> | The transformer function. |
void