mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Merge pull request #1989 from ofirgeller/patch-2
go() returns a promise.
This commit is contained in:
commit
8c6f67a2ca
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