Skip to content

fix(remix): Use generic types for ServerBuild argument and return - #16336

Merged
AbhiPrasad merged 2 commits into
developfrom
onur/remix-hydrogen-build-return
May 20, 2025
Merged

fix(remix): Use generic types for ServerBuild argument and return#16336
AbhiPrasad merged 2 commits into
developfrom
onur/remix-hydrogen-build-return

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented May 19, 2025

Copy link
Copy Markdown
Contributor

Closes: #15615
Ref: #15615 (comment)

Looks like createRequestHandler exported from @shopify/remix-oxygen does not accept a function that returns/resolves a ServerBuild. It only accepts a plain ServerBuild.

@onurtemizkanonurtemizkan changed the title fix(remix): Accept and return plain ServerBuild on Cloudflarefix(remix): Use generic types for ServerBuild argument and returnMay 20, 2025
Sign up for freeto 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.

Outdated vendored remix types causing typescript errors when instrumenting build

3 participants

@onurtemizkan@mydea@AbhiPrasad