Skip to content

Commit

Permalink
Fix type declarations (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub791 authored Jul 1, 2023
1 parent 4a80664 commit 4fb93a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface Unsubscribe {
(): void
}

export declare class Emitter<Events extends EventsMap = DefaultEvents> {
export interface Emitter<Events extends EventsMap = DefaultEvents> {
/**
* Event names in keys and arrays with listeners in values.
*
Expand Down

0 comments on commit 4fb93a4

Please sign in to comment.