From c1ca701e92d4f0bfff65e978a5cd2207d9f7970b Mon Sep 17 00:00:00 2001 From: sercan Date: Tue, 18 May 2021 13:08:02 +0300 Subject: [PATCH] (FuseNavigation) Added a generic return type for "getComponent" method on FuseNavigationService --- src/@fuse/components/navigation/navigation.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@fuse/components/navigation/navigation.service.ts b/src/@fuse/components/navigation/navigation.service.ts index 31a2738c..3c5bea80 100644 --- a/src/@fuse/components/navigation/navigation.service.ts +++ b/src/@fuse/components/navigation/navigation.service.ts @@ -46,7 +46,7 @@ export class FuseNavigationService * * @param name */ - getComponent(name: string): any + getComponent(name: string): T { return this._componentRegistry.get(name); }