You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the SpectatorRouting class, the methodsetRouteData value parameter should support any type since the normal Angular Route Data also accept any type.
Current solution is to cast the variable I want to use as any type. Everything else still works fine.
Proposed solution
set value parameter as any type
Alternatives considered
Or allow it to be generic.
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered:
Description
In the
SpectatorRouting
class, the methodsetRouteData
value parameter should supportany
type since the normal Angular Route Data also accept any type.Current solution is to cast the variable I want to use as
any
type. Everything else still works fine.Proposed solution
set
value
parameter asany
typeAlternatives considered
Or allow it to be generic.
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered: