Skip to content

Commit be92ed9

Browse files
committed
fix: remove outdated jsdocs
1 parent 8998de0 commit be92ed9

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/types.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@ export type WizardProps = {
1212
export type WizardValues = {
1313
/**
1414
* Go to the next step
15-
*
16-
* @param stepIndex Overwrite the default behaviour by providing a step index
1715
*/
18-
nextStep: (stepIndex?: number) => Promise<void>;
16+
nextStep: () => Promise<void>;
1917
/**
2018
* Go to the previous step
21-
*
22-
* @param stepIndex Overwrite the default behaviour by providing a step index
23-
* */
24-
previousStep: (stepIndex?: number) => void;
19+
*/
20+
previousStep: () => void;
2521
/**
2622
* Go to the given step index
2723
*
@@ -32,7 +28,6 @@ export type WizardValues = {
3228
* Attach a callback that will be called when calling `nextStep()`
3329
*
3430
* @param handler Can be either sync or async
35-
*
3631
*/
3732
handleStep: (handler: Handler) => void;
3833
/**

0 commit comments

Comments
 (0)