Skip to content

Commit 584e9b3

Browse files
committed
fix(rivetkit-react): suppress deep-type-instantiation error on useEvent
1 parent 2cb51a9 commit 584e9b3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • rivetkit-typescript/packages/react/src

rivetkit-typescript/packages/react/src/mod.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export function createRivetKitWithClient<Registry extends AnyActorRegistry>(
6868
* @param eventName The name of the event to listen for.
6969
* @param handler The function to call when the event is emitted.
7070
*/
71+
// @ts-ignore Type instantiation can be excessively deep for complex registries.
7172
const useEvent = ((
7273
eventName: string,
7374
handler: (...args: unknown[]) => void,

0 commit comments

Comments
 (0)