Skip to content

Commit 6e0878c

Browse files
Update types for exitOnEsc and tourName (#2609)
1 parent b547ca7 commit 6e0878c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/shepherd/src/lib/shepherd.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ export class ShepherdService {
2020
confirmCancelMessage?: TourOptions['confirmCancelMessage'];
2121
defaultStepOptions: StepOptions = {};
2222
errorTitle?: string;
23-
exitOnEsc = true;
23+
exitOnEsc: TourOptions['exitOnEsc'] = true;
2424
isActive = false;
2525
keyboardNavigation: TourOptions['keyboardNavigation'] = true;
2626
messageForUser: string | null = null;
2727
modal = false;
2828
requiredElements: Array<RequiredElement> = [];
29-
tourName = undefined;
29+
tourName: TourOptions['tourName'] = undefined;
3030
tourObject: Tour | null = null;
3131

3232
constructor() {}

0 commit comments

Comments
 (0)