js: args.stringNumber is of unknown type

This commit is contained in:
Thomas Weber committed 2020-12-07 21:11:11 -06:00
1 parent 3624712b80
commit e6c03aa7f8
1 file changed
+1 -1
+1 -1
View File
@@ -328,7 +328,7 @@ class JSGenerator {
case 'args.boolean':
return new TypedInput(`toBoolean(p${node.index})`, TYPE_BOOLEAN);
case 'args.stringNumber':
return new TypedInput(`p${node.index}`, TYPE_BOOLEAN);
return new TypedInput(`p${node.index}`, TYPE_UNKNOWN);
case 'compat':
return new TypedInput(`(${this.generateCompatibilityLayerCall(node)})`, TYPE_UNKNOWN);