mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #5987 from mtgibbs/master
Update typings for Tether-Shepherd v1.2.0
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();
|
||||
|
||||
Vendored
+2
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Tether-Shepherd v1.1.2
|
||||
// Type definitions for Tether-Shepherd v1.2.0
|
||||
// Project: http://github.hubspot.com/shepherd/
|
||||
// Definitions by: Matt Gibbs <https://github.com/mtgibbs>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -149,6 +149,7 @@ declare module TetherShepherd {
|
||||
showCancelLink?: boolean;
|
||||
scrollTo?: boolean;
|
||||
when?: any;
|
||||
showOn?: () => boolean;
|
||||
|
||||
// TODO: Tie this in with the tether.d.ts
|
||||
tetherOptions?: any;
|
||||
|
||||
Reference in New Issue
Block a user