mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
add reloadState argument (#20250)
This commit is contained in:
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<{}>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user