-
-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
324ff20
commit 9466a97
Showing
3 changed files
with
127 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import Tour from './tour'; | ||
import Evented from './evented'; | ||
import Step from './step'; | ||
|
||
declare abstract class Shepherd extends Evented { | ||
static Tour: { new(options?: Tour.TourOptions): Tour }; | ||
static Step: { new(tour: Tour, options: Step.StepOptions): Step }; | ||
static Evented: { new(): Evented }; | ||
import _Evented from './evented'; | ||
import _Step from './step'; | ||
import _Tour from './tour'; | ||
|
||
declare class Shepherd extends _Evented { | ||
activeTour?: _Tour; | ||
} | ||
|
||
declare namespace Shepherd { | ||
export import Step = _Step; | ||
export import Tour = _Tour; | ||
} | ||
|
||
export default Shepherd; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters