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