🐛 BUG: wrangler types
copies actual string from wrangler.toml instead of the type
#7273
Labels
bug
Something that isn't working
Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.86.1 & 3.87.0 [Wrangler]
What version of Node are you using?
20.15.0
What operating system and version are you using?
Windows 11
Describe the Bug
Observed behavior
When running
wrangler types
theworker-configuration.d.ts
is wrongly populated with the actual value in the wrangler.toml instead of setting up the typesExpected behavior
When running
wrangler types
theworker-configuration.d.ts
is sets up the types to reflect the types of values in the wrangler.tomlSteps to reproduce
Please provide the following:
npx wrangler types
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: