Skip to content

Commit 418a7df

Browse files
fix: correct callback parameter type in emitter to fix build error (#80)
1 parent 5d29f40 commit 418a7df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type EventName = typeof OpenIMEvent[keyof typeof OpenIMEvent];
1212

1313
type NativeSubscriptionAndCallbackPair = {
1414
subscription: EmitterSubscription;
15-
callback: (...args: any[]) => void;
15+
callback: (...args: any) => void;
1616
};
1717

1818
class Emitter implements EmitterInterface {

0 commit comments

Comments
 (0)