-
-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the C3 behavior for Cloudflare Workers template #3193
Comments
yusukebe
changed the title
Update the C3 behavior for Workers template
Update the C3 behavior for Cloudflare Workers template
Jul 27, 2024
12 tasks
I tried this issue at cloudflare/workers-sdk#6481. I think this issue can be closed when the PR is merged. |
@yusukebe Thank you for reviewing my PR! The PR has been merged and has been released to [email protected]. |
@roottool Closing now. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, if we create a new Cloudflare Workers project with C3, C3 will add the following code to
index.ts
:This snippet does convert
interface
totype
becausenew Hono()
does not acceptinterface
before.But, since v4.5.0, we can pass an
interface
to it! We can remove that snippet and pass theCloudflareBindings
directly.The text was updated successfully, but these errors were encountered: