Skip to content

Commit

Permalink
Fixes StepOptions.scrollTo type defintion (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
moxival authored and RobbieTheWagner committed Aug 9, 2019
1 parent 066ad85 commit 5e76bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/step.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ declare namespace Step {
/**
* Should the element be scrolled to when this step is shown?
*/
scrollTo?: boolean;
scrollTo?: boolean | ScrollIntoViewOptions;

/**
* A function that lets you override the default scrollTo behavior and
Expand Down

0 comments on commit 5e76bd0

Please sign in to comment.