Skip to content

Commit

Permalink
set default export
Browse files Browse the repository at this point in the history
  • Loading branch information
gooostaw committed Jun 27, 2019
1 parent 60c85eb commit ec92350
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare class EventListener {
off(): void;
remove(): void;
}
export declare class EventEmitter {
export default class EventEmitter {
events: Map<string, Set<EventListener>>;
constructor();
getListenersSet(name: string): Set<EventListener>;
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EventListener {
listeners.delete(this);
}
}
export class EventEmitter {
export default class EventEmitter {
constructor() {
this.events = new Map();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class EventListener {
}
}

export class EventEmitter {
export default class EventEmitter {
events: Map<string, Set<EventListener>>;

constructor() {
Expand Down

0 comments on commit ec92350

Please sign in to comment.