angular-docs-cn/tools/public_api_guard/router
Marcus Krahl 07d8d3994c feat(router): add UrlSegment[] to CanLoad interface (#13127)
CanLoad now defines UrlSegment[] as a second parameter of the function.
Users can store the initial url segments and refer to them later, e.g. to go
back to the original url after authentication via router.navigate(urlSegments).
Existing code still works as before because the second function parameter
does not have to be defined.

Closes #12411

PR Close #13127
2018-08-16 16:32:18 -07:00
..
router.d.ts feat(router): add UrlSegment[] to CanLoad interface (#13127) 2018-08-16 16:32:18 -07:00
testing.d.ts feat(ivy): selector side of ModuleWithProviders via type metadata (#24862) 2018-07-20 11:48:35 -07:00
upgrade.d.ts fix(router): make locationSyncBootstrapListener public due to change in output after TS 2.7 update in #22669 (#22896) 2018-03-20 17:40:25 -07:00