Just upgraded to Angular 14, getting error:
Types of property 'pathMatch' are incompatible.
Type 'string' is not assignable to type '"full" | "prefix"'.
Calling from:
import { Routes as routes } from './routes';
@NgModule({
imports: [
RouterModule.forChild(routes)
]...})
with routes being
export const Routes = [
{
path: '',
redirectTo: '/signup',
pathMatch: 'full'
}]
The whole thing worked perfectly on Angular 10. Any ideas ?