Skip to content

Commit

Permalink
chore: Update observer typing error.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjamie committed May 11, 2020
1 parent 2ae7895 commit 48db1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EventEmitter } from 'eventemitter3';
/**
* Simple adapter sub-class of Nodejs-like EventEmitter.
*/
export class Observer extends EventEmitter {
export class Observer extends EventEmitter<any> {
/**
* We simply want to pass along the event-name itself
* in every call to a handler, which is the purpose of our `trigger` method
Expand Down

0 comments on commit 48db1a5

Please sign in to comment.