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
// Generated by Wrangler on Wed May 15 2024 22:07:18 GMT+0000 (Coordinated Universal Time)// by running `wrangler types`interfaceEnv{ENVIRONMENT: "dev";}
Expected behavior
Should be expected to take into account the other environment vars and output one of the following:
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.56.0 [Wrangler]
What version of Node are you using?
21.0.0
What operating system and version are you using?
Windows 11
Describe the Bug
Observed behavior
Wrangler type generation doesn't take into account type of variable for different environments.
With the following
wrangler.toml
config:The output of
wrangler types
is:Expected behavior
Should be expected to take into account the other environment vars and output one of the following:
or
Steps to reproduce
CodeSandbox Example
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: