Skip to content

Update routePartykitRequest() type parameters#278

Closed
pilcrowonpaper wants to merge 3 commits into
cloudflare:mainfrom
pilcrowonpaper:update-env-types
Closed

Update routePartykitRequest() type parameters#278
pilcrowonpaper wants to merge 3 commits into
cloudflare:mainfrom
pilcrowonpaper:update-env-types

Conversation

@pilcrowonpaper

Copy link
Copy Markdown

Updated the routePartykitRequest() types parameters.

ENV declared in Cloudflare projects implements an interface so it doesn't satisfy the type Record<string, unknown> of the env parameter.

interface Env extends Cloudflare.Env {}

I'm unsure if this project considers type parameters as public APIs so let me know if I need to make the type parameters (mostly) backwards compatible.

@changeset-bot

changeset-bot Bot commented Sep 16, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: de24dda

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
partyserver Patch
hono-party Patch
partysub Patch
partysync Patch
partywhen Patch
y-partyserver Patch
@partyserver/fixture-chat Patch
@partyserver/fixture-globe Patch
@partyserver/fixture-hono Patch
@partyserver/fixture-tiptap-yjs Patch
@partyserver/fixture-tldraw Patch
@partyserver/fixture-todo-sync Patch

Not sure what this means? Click here to learn what changesets are.

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

@threepointone

Copy link
Copy Markdown
Collaborator

fixed in main, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants