mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-25 21:00:07 +00:00
The `transitionTo` method on both the router service and routes takes "model" arguments in the form of either an object (which will be resolved as the actual model) or a `string | number` identifier (which will be used to look up the model from the store). Add tests to cover the behavior on both, and add types for `Route.transitionTo` via overrides (replacing the previous spread approach for consistency).