array of number returning strings
Hey,
I've defined an array of number in my schema:
The problem is that when I retrieve the value, it's actually typed as an array of string:
price: string[]
How comes? How can I get the right type? (number[]
)
When I hover on the column declaration on my schema, it shows this: see capture
Why is the data: string[]
?2 Replies