mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Refactored module to be TetherShepherd to avoid collisions
This commit is contained in:
@@ -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