Skip to content

Commit e20202d

Browse files
committed
Remove unreachable code path
1 parent b00e393 commit e20202d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/types.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,7 @@ export const arraySerializer = function arraySerializer(xs, serializer, options)
252252

253253
return x === null
254254
? 'null'
255-
: x === undefined
256-
? '' + options.transform.undefined
257-
: '"' + arrayEscape(serializer ? serializer(x.type ? x.value : x) : '' + x) + '"'
255+
: '"' + arrayEscape(serializer ? serializer(x.type ? x.value : x) : '' + x) + '"'
258256
}).join(',') + '}'
259257
}
260258

0 commit comments

Comments
 (0)