Skip to content

Add "turbo types" command to codegen all types, don't generate env types via wrangler types #77

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

Merged
merged 1 commit into from
Apr 26, 2025

Conversation

Maximo-Guk
Copy link
Member

Add "turbo types" command to codegen all types, don't generate env types via wrangler types and instead use context.ts files which define environment types in each app.

  • Remove @cloudflare/workers-types
  • Add helper in mcp-common to cast env as any generic Env type

@Maximo-Guk Maximo-Guk requested review from deloreyj and cmsparks April 25, 2025 23:18
@Maximo-Guk Maximo-Guk force-pushed the maximo/fix-types branch 4 times, most recently from 98ea847 to a6b3f63 Compare April 26, 2025 01:12
…pes and instead use dedicated context files which define env types in each app.

- Add helper in mcp-common to cast env as any generic Env type
@Maximo-Guk Maximo-Guk merged commit 616322c into main Apr 26, 2025
6 checks passed
@Maximo-Guk Maximo-Guk deleted the maximo/fix-types branch April 26, 2025 01:52
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