You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The off function in evented can handle the case where the second parameter is undefined. But the type of the function is off(event: string, handler: AnyHandler): this;
Shouldn't it be off(event: string, handler?: AnyHandler): this;?
There was a similar fix when this package used JS and separate TS types: #1758
If yes I can create a PR for this.
The text was updated successfully, but these errors were encountered:
The off function in evented can handle the case where the second parameter is undefined. But the type of the function is
off(event: string, handler: AnyHandler): this;
Shouldn't it be
off(event: string, handler?: AnyHandler): this;
?There was a similar fix when this package used JS and separate TS types: #1758
If yes I can create a PR for this.
The text was updated successfully, but these errors were encountered: