We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf7bc5 commit 839dc4aCopy full SHA for 839dc4a
src/state/stateService.ts
@@ -128,7 +128,7 @@ export class StateService {
128
* @returns {promise} A promise representing the state of the new transition. See
129
* {@link ui.router.state.$state#methods_go $state.go}.
130
*/
131
- reload(reloadState: StateOrName): Promise<State> {
+ reload(reloadState?: StateOrName): Promise<State> {
132
return this.transitionTo(this.current, this.params, {
133
reload: isDefined(reloadState) ? reloadState : true,
134
inherit: false,
0 commit comments