I'm trying to import this example in my Application: https://stackblitz.com/edit/angular-breadcrumb-router
But in the file breadcrumb.component.ts
the Visual Studio Code says
Object is possibly 'undefined'.ts(2532)
for this line:
const label = route.routeConfig ? route.routeConfig.data['breadcrumb'] : 'Home';
So I can't use it and I don't understand why.