Skip to content

Commit

Permalink
fix(typescript): Mark params as optional in StateService.href
Browse files Browse the repository at this point in the history
Closes #287
  • Loading branch information
christopherthielen committed Jan 28, 2019
1 parent 148b16b commit 614bfb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/stateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export class StateService {
*
* @returns {string} compiled state url
*/
href(stateOrName: StateOrName, params: RawParams, options?: HrefOptions): string {
href(stateOrName: StateOrName, params?: RawParams, options?: HrefOptions): string {
const defaultHrefOpts = {
lossy: true,
inherit: true,
Expand Down

0 comments on commit 614bfb4

Please sign in to comment.