Skip to content

Commit

Permalink
Move activeTour to namespace
Browse files Browse the repository at this point in the history
Closes #504
  • Loading branch information
RobbieTheWagner committed Aug 12, 2019
1 parent 501799b commit c194845
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/types/shepherd.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import _Evented from './evented';
import _Step from './step';
import _Tour from './tour';

declare class Shepherd extends _Evented {
activeTour?: _Tour;
}

declare namespace Shepherd {
/**
* The currently active tour instance
*/
export const activeTour: _Tour | undefined;
export import Step = _Step;
export import Tour = _Tour;
}
Expand Down

0 comments on commit c194845

Please sign in to comment.