Skip to content

Commit

Permalink
docs: fix integration-with-bun.mdx TypeScript issue
Browse files Browse the repository at this point in the history
Fix a TypeScript issue resulting from a breaking change in either Bun or Yoga. 

The error is detailed here:
- dotansimha#3003 (comment)
- dotansimha#2644 (comment)
- dotansimha#3003 (comment)

This PR fixes the error.
  • Loading branch information
yamcodes authored Aug 16, 2024
1 parent 1fbc07d commit fc74936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const yoga = createYoga({
})

const server = Bun.serve({
fetch: yoga
fetch: (request) => yoga(request)
})

console.info(
Expand Down

0 comments on commit fc74936

Please sign in to comment.