You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using [email protected] causes a resolve error. Modify the interface as it changes.
ERROR in ./src/app/pages/guards-pages.service.ts
Module build failed: Error: /Users/albatrosary/work/start-angular/src/app/pages/guards-pages.service.ts (13,14): Class 'GuardsPagesService' incorrectly implements interface 'Resolve<PagesComponent>'.
Types of property 'resolve' are incompatible.
Type '() => boolean' is not assignable to type'(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => PagesComponent | Observable<PagesC...'.
Type 'boolean' is not assignable to type'PagesComponent | Observable<PagesComponent> | Promise<PagesComponent>'.)
at _checkDiagnostics (/Users/albatrosary/work/start-angular/node_modules/@ngtools/webpack/src/loader.js:116:15)
at /Users/albatrosary/work/start-angular/node_modules/@ngtools/webpack/src/loader.js:141:17
The text was updated successfully, but these errors were encountered:
Using [email protected] causes a resolve error. Modify the interface as it changes.
The text was updated successfully, but these errors were encountered: