mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Added test for compiling showOn
This commit is contained in:
@@ -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