We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
map
1 parent d031add commit ef45746Copy full SHA for ef45746
packages/wrangler/src/type-generation/index.ts
@@ -301,8 +301,7 @@ async function generateTypes(
301
for (const [varName, varInfo] of vars) {
302
const varValueTypes = new Set(
303
varInfo
304
- .map(({ value }) => value)
305
- .map((varValue) => {
+ .map(({ value: varValue }) => {
306
if (!strictVars) {
307
if (Array.isArray(varValue)) {
308
const typesInArray = [
0 commit comments