Skip to main content
Version: 1.x

@microsoft/fast-foundation > ResolverBuilder > aliasTo

ResolverBuilder.aliasTo() method

Aliases the current key to a different key.

Signature:
aliasTo(destinationKey: Key): Resolver<K>;

Parameters

ParameterTypeDescription
destinationKeyKeyThe key to point the alias to.
Returns:

Resolver<K>

The resolver.