mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-12 12:10:48 +08:00
go() returns a promise.
from the wiki:
Returns
{promise} – A promise representing the state of the new transition. Possible success values:
$state.current
This commit is contained in:
1 parent
097542cd03
commit
c663be4f3c
1 file changed
+1
-1
Vendored
+1
-1
@@ -73,7 +73,7 @@ declare module ng.ui {
|
||||
}
|
||||
|
||||
interface IStateService {
|
||||
go(to: string, params?: {}, options?: IStateOptions): void;
|
||||
go(to: string, params?: {}, options?: IStateOptions): IPromise<any>;
|
||||
transitionTo(state: string, params?: {}, updateLocation?: boolean): void;
|
||||
transitionTo(state: string, params?: {}, options?: IStateOptions): void;
|
||||
includes(state: string, params?: {}): boolean;
|
||||
|
||||
Reference in new issue
Block a user