Open boar-is opened 3 weeks ago
This is important, since arrays don't provide proper typings:
v.tuple(v.number(), v.string()) // [number, string] ✅ v.array(v.union(v.number(), v.string())) // (number | string)[]
For now, the only solution is to use v.any or do weird type castings.
v.any
This is important, since arrays don't provide proper typings:
For now, the only solution is to use
v.any
or do weird type castings.