mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Refactored module to be TetherShepherd to avoid collisions
This commit is contained in:
1 parent
bc9b48d674
commit
d513d36425
2 files changed
+4
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
///<reference path="shepherd.d.ts" />
|
||||
///<reference path="tether-shepherd.d.ts" />
|
||||
|
||||
var tour = new Shepherd.Tour({
|
||||
defaults: {
|
||||
|
||||
Vendored
+3
-3
@@ -1,9 +1,9 @@
|
||||
// Type definitions for Shepherd v1.1.2
|
||||
// Type definitions for Tether-Shepherd v1.1.2
|
||||
// Project: http://github.hubspot.com/shepherd/
|
||||
// Definitions by: Matt Gibbs <https://github.com/mtgibbs>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module shepherd {
|
||||
declare module TetherShepherd {
|
||||
|
||||
interface ShepherdStatic {
|
||||
on(eventName: string, handler: Function, context?: any): any;
|
||||
@@ -167,4 +167,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
declare var Shepherd: shepherd.ShepherdStatic;
|
||||
declare var Shepherd: TetherShepherd.ShepherdStatic;
|
||||
Reference in new issue
Block a user