nksaraf / vinxi

The Full Stack JavaScript SDK
https://vinxi.vercel.app
MIT License
1.33k stars 57 forks source link

fix(types): Use the correct type for the party handler callbacks #317

Closed Christopher2K closed 2 weeks ago

Christopher2K commented 2 weeks ago

Hey hey,

Just a little PR here to use the correct type instead of the connection type. I was trusting typescript to realize at the end that Connection wasn't really what I expected!

codesandbox[bot] commented 2 weeks ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: d8a20b1ca63f7563fe0bc6d05977763e2686b7d5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 2 weeks ago

@Christopher2K is attempting to deploy a commit to the Nikhil Saraf's projects Team on Vercel.

A member of the Team first needs to authorize it.