Commit Graph

1 Commits (70289d18785ea4f61c1f7bd6df63a2bc8c0d1ca2)

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