|
|
|
@ -3,9 +3,9 @@ import Todo |
|
|
|
func simpleRouterState<T : AnyObject>(_ child: T) -> Value<RouterState<AnyObject, T>> { |
|
|
|
func simpleRouterState<T : AnyObject>(_ child: T) -> Value<RouterState<AnyObject, T>> { |
|
|
|
return valueOf( |
|
|
|
return valueOf( |
|
|
|
RouterState( |
|
|
|
RouterState( |
|
|
|
activeChild: RouterStateEntryCreated( |
|
|
|
activeChild: ChildCreated( |
|
|
|
configuration: "config" as AnyObject, |
|
|
|
configuration: "config" as AnyObject, |
|
|
|
component: child |
|
|
|
instance: child |
|
|
|
), |
|
|
|
), |
|
|
|
backStack: [] |
|
|
|
backStack: [] |
|
|
|
) |
|
|
|
) |
|
|
|
|