diff --git a/types/intro.js/index.d.ts b/types/intro.js/index.d.ts index ac31455125..696e5f7097 100644 --- a/types/intro.js/index.d.ts +++ b/types/intro.js/index.d.ts @@ -43,6 +43,7 @@ declare namespace introJs { doneLabel?: string | undefined; hidePrev?: boolean | undefined; hideNext?: boolean | undefined; + nextToDone?: boolean | undefined; tooltipPosition?: string | undefined; tooltipClass?: string | undefined; highlightClass?: string | undefined; diff --git a/types/intro.js/intro.js-tests.ts b/types/intro.js/intro.js-tests.ts index a4d6e8c6f8..63a124ba95 100644 --- a/types/intro.js/intro.js-tests.ts +++ b/types/intro.js/intro.js-tests.ts @@ -10,6 +10,7 @@ intro.setOption('showProgress', true); intro.setOptions({ hidePrev: true, hideNext: false, + nextToDone: true, scrollPadding: 30, hintAnimation: false, steps: [