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