Skip to content

Commit 272a005

Browse files
committed
Try again
1 parent b4030ab commit 272a005

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

src/Types.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,19 @@ export interface VTourData {
124124
getNextStep: ITourStep;
125125
}
126126

127-
export type VTourGoToStep = (stepIndex: number) => Promise<void>;
127+
/**
128+
* Programmatic step navigation signature.
129+
*
130+
* @param arg0 Step index to navigate to.
131+
*/
132+
export type VTourGoToStep = (arg0: number) => Promise<void>;
128133

129-
export type VTourResetTour = (shouldRestart?: boolean) => void;
134+
/**
135+
* Reset behaviour signature.
136+
*
137+
* @param arg0 When true, restarts immediately after reset.
138+
*/
139+
export type VTourResetTour = (arg0?: boolean) => void;
130140

131141
/**
132142
* Public API methods exposed by the VTour component

0 commit comments

Comments
 (0)