Commit Graph

1 Commits (7aa0c6c570de525ed01f427aad075388b45ccb78)

Author SHA1 Message Date
Noel De Martin 77d3ac9d43 MOBILE-4470 angular: Fix snapshot types
Route snapshots are typed as non-optional, but we found a situation where it was undefined. Looking at the Angular source code, it seems like indeed snapshots can be undefined but they have been declared with a definite assignment assertion: https://github.com/angular/angular/blob/17.3.0/packages/router/src/router_state.ts#L231
2024-05-14 13:33:34 +02:00