Skip to content

Commit

Permalink
fixed: small typo in the types
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Sep 7, 2021
1 parent 65bd3c9 commit b6139a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.d.ts
@@ -1,4 +1,4 @@
interface ListenerCallback<T extends any, Callback = (args: T[]) => void> {
interface ListenerCallback<T extends any, Callback = (...args: T[]) => void> {
(event: string, fn: Callback): ObservableInstance<T>
}

Expand Down

0 comments on commit b6139a9

Please sign in to comment.