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.
0
1 parent eb92e9f commit 663545cCopy full SHA for 663545c
index.js
@@ -48,7 +48,7 @@ function parsePrimitive(info, name, value) {
48
}
49
50
if (info.numeric || info.positiveNumeric) {
51
- if (!isNaN(result)) {
+ if (!isNaN(result) && result !== '') {
52
result = Number(result);
53
54
} else if (info.boolean || info.overloadedBoolean) {
0 commit comments