mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
add reloadState argument (#20250)
This commit is contained in:
committed by
Wesley Wigham
parent
1afcc7cfa8
commit
ff3bfddfc5
2
types/angular-ui-router/index.d.ts
vendored
2
types/angular-ui-router/index.d.ts
vendored
@@ -281,7 +281,7 @@ declare module 'angular' {
|
||||
current: IState;
|
||||
/** A param object, e.g. {sectionId: section.id)}, that you'd like to test against the current active state. */
|
||||
params: IStateParamsService;
|
||||
reload(): angular.IPromise<any>;
|
||||
reload(reloadState?: string | IState): angular.IPromise<any>;
|
||||
|
||||
/** Currently pending transition. A promise that'll resolve or reject. */
|
||||
transition: angular.IPromise<{}>;
|
||||
|
||||
Reference in New Issue
Block a user