@microsoft/fast-foundation > ResolverBuilder > aliasTo
ResolverBuilder.aliasTo() method
Aliases the current key to a different key.
Signature:
aliasTo(destinationKey: Key): Resolver<K>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| destinationKey | Key | The key to point the alias to. |
Returns:
Resolver<K>
The resolver.