Skip to main content
Version: 1.x

@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

ParameterTypeDescription
transformerTransformer<T>The transformer function.
Returns:

void