https://github.com/angular/angular
Revision c1c7384e02becc623c6a42985f7178ca98137264 authored by Andrew Scott on 18 October 2021, 21:19:21 UTC, committed by Pawel Kozlowski on 28 February 2024, 17:09:33 UTC
This refactor makes it easier to update the return types of guards.
Rather than having to track what types guards can return, which may
change with new features over time, `MaybeAsync<GuardResult>` can be
used instead.

PR Close #54580
1 parent fb540e1
History
Tip revision: c1c7384e02becc623c6a42985f7178ca98137264 authored by Andrew Scott on 18 October 2021, 21:19:21 UTC
feat(router): Add reusable types for router guards (#54580)
Tip revision: c1c7384

README.md

back to top