mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-14 12:30:47 +08:00
Added test for compiling showOn
This commit is contained in:
1 parent
e5122de079
commit
0e38df00b8
1 file changed
+4
-1
@@ -46,6 +46,9 @@ var step2Options: TetherShepherd.IShepherdTourStepOptions = {
|
||||
destroy: () => {
|
||||
console.log('Destroyed the Step 2');
|
||||
}
|
||||
},
|
||||
showOn: () => {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -55,4 +58,4 @@ var queriedStep = tour.getById('test-step-2');
|
||||
|
||||
queriedStep.destroy();
|
||||
|
||||
tour.start();
|
||||
tour.start();
|
||||
Reference in new issue
Block a user