Created
September 12, 2019 13:50
-
-
Save oleersoy/ba74936b75dec415709c369ec5e78861 to your computer and use it in GitHub Desktop.
type.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type '({ path: string; redirectTo: string; pathMatch: string; } | { path: string; component: typeof HomeComponent; } | { path: string; canActivate: string; component: typeof LoginComponent; })[]' is not assignable to type 'Route[]'. | |
Type '{ path: string; redirectTo: string; pathMatch: string; } | { path: string; component: typeof HomeComponent; } | { path: string; canActivate: string; component: typeof LoginComponent; }' is not assignable to type 'Route'. | |
Type '{ path: string; canActivate: string; component: typeof LoginComponent; }' is not assignable to type 'Route'. | |
Types of property 'canActivate' are incompatible. | |
Type 'string' is not assignable to type 'any[]'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment