From ff3bfddfc5eb3376a5c355cc7a1dbd04400f671c Mon Sep 17 00:00:00 2001 From: Denis Bendrikov Date: Tue, 10 Oct 2017 00:44:47 +0300 Subject: [PATCH] add reloadState argument (#20250) --- types/angular-ui-router/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/angular-ui-router/index.d.ts b/types/angular-ui-router/index.d.ts index d1f2c43b48..04e3c9341a 100644 --- a/types/angular-ui-router/index.d.ts +++ b/types/angular-ui-router/index.d.ts @@ -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; + reload(reloadState?: string | IState): angular.IPromise; /** Currently pending transition. A promise that'll resolve or reject. */ transition: angular.IPromise<{}>;