fix some odd number / string problems
This commit is contained in:
parent
062d926900
commit
33c40e5ef8
2 changed files with 4 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ export function transpiler(input, options = {}) {
|
|||
widgets.push({
|
||||
from: node.arguments[0].start,
|
||||
to: node.arguments[0].end,
|
||||
value: node.arguments[0].value,
|
||||
value: node.arguments[0].raw, // don't use value!
|
||||
min: node.arguments[1]?.value ?? 0,
|
||||
max: node.arguments[2]?.value ?? 1,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue