(FuseNavigation) Added a generic return type for "getComponent" method on FuseNavigationService

This commit is contained in:
sercan 2021-05-18 13:08:02 +03:00
parent e00dda98bc
commit c1ca701e92

View File

@ -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);
} }