You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Control the types that Wrangler generates for `vars` bindings.
2292
2292
- If `true`, (the default) Wrangler generates literal and union types for bindings (e.g. `myEnv: 'my dev variable' | 'my prod variable'`).
2293
-
- If `false`, Wrangler generates generic types (e.g. `myEnv: string`) (useful when environment variables can often change especially when multiple environments are used).
2293
+
- If `false`, Wrangler generates generic types (e.g. `myEnv: string`). This is useful when variables change frequently, such as when working across multiple environments.
0 commit comments