mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-09 20:15:07 +00:00
(FuseNavigation) Added a generic return type for "getComponent" method on FuseNavigationService
This commit is contained in:
parent
e00dda98bc
commit
c1ca701e92
|
@ -46,7 +46,7 @@ export class FuseNavigationService
|
||||||
*
|
*
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
getComponent(name: string): any
|
getComponent<T>(name: string): T
|
||||||
{
|
{
|
||||||
return this._componentRegistry.get(name);
|
return this._componentRegistry.get(name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user