@@ -15,29 +15,16 @@ declare module ng.ui {
1515 controllerProvider ?: any ;
1616 resolve ?: { } ;
1717 url ?: string ;
18- params ?: any [ ] ;
18+ params ?: any ;
1919 views ?: { } ;
2020 abstract ?: boolean ;
2121 onEnter ?: ( ...args : any [ ] ) => void ;
2222 onExit ?: ( ...args : any [ ] ) => void ;
2323 data ?: any ;
24+ reloadOnSearch ?: boolean ;
2425 }
25-
26- interface ITypedState < T > {
27- name ?: string ;
28- template ?: string ;
29- templateUrl ?: string ;
30- templateProvider ?: ( ) => string ;
31- controller ?: any ;
32- controllerAs ?: string ;
33- controllerProvider ?: any ;
34- resolve ?: { } ;
35- url ?: string ;
36- params ?: any [ ] ;
37- views ?: { } ;
38- abstract ?: boolean ;
39- onEnter ?: ( ...args : any [ ] ) => void ;
40- onExit ?: ( ...args : any [ ] ) => void ;
26+
27+ interface ITypedState < T > extends IState {
4128 data ?: T ;
4229 }
4330
@@ -116,19 +103,19 @@ declare module ng.ui {
116103 }
117104
118105 interface IUrlRouterService {
119- /*
120- * Triggers an update; the same update that happens when the address bar
121- * url changes, aka $locationChangeSuccess.
122- *
123- * This method is useful when you need to use preventDefault() on the
124- * $locationChangeSuccess event, perform some custom logic (route protection,
125- * auth, config, redirection, etc) and then finally proceed with the transition
126- * by calling $urlRouter.sync().
127- *
128- */
106+ /*
107+ * Triggers an update; the same update that happens when the address bar
108+ * url changes, aka $locationChangeSuccess.
109+ *
110+ * This method is useful when you need to use preventDefault() on the
111+ * $locationChangeSuccess event, perform some custom logic (route protection,
112+ * auth, config, redirection, etc) and then finally proceed with the transition
113+ * by calling $urlRouter.sync().
114+ *
115+ */
129116 sync ( ) : void ;
130117 }
131-
118+
132119 interface IUiViewScrollProvider {
133120 /*
134121 * Reverts back to using the core $anchorScroll service for scrolling
0 commit comments