Angular routing error : Type 'Promise is not assignable to type 'Routes | Type<any> | NgModuleFactory<any> | Observable<Routes | Type<any> - Stack Overflow
Router Guards In Angular (canActivate, canActivateChild, canDeactivate, canLoad, resolve) | by Bittu Kumar | Oct, 2023 | Medium