Skip to content

Commit

Permalink
switched to default export in TS typing (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
grycmat authored and RobbieTheWagner committed Jul 30, 2019
1 parent 174116d commit 08788a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/types/evented.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ declare class Evented {
trigger(event: string): void;
}

export = Evented;
export default Evented;
2 changes: 1 addition & 1 deletion src/types/shepherd.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ declare abstract class Shepherd extends Evented {
static Evented: { new(): Evented };
}

export = Shepherd;
export default Shepherd;
2 changes: 1 addition & 1 deletion src/types/step.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ declare class Step extends Evented {
show(): Promise<void> | void;
}

export = Step;
export default Step;
2 changes: 1 addition & 1 deletion src/types/tour.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ declare class Tour extends Evented {
start(): void;
}

export = Tour;
export default Tour;

0 comments on commit 08788a8

Please sign in to comment.