Swifter
Overload not typing object literals
ok so, I want a function that takes in an array of numbers and converts them from degrees to radians. The only thing is that:
- I want the function to prefer a tuple, so if I input
[0,0,0]
, I should get out [number, number, number]
- I want the function to allow for readonly inputs, since the returned array will be a new array from map
59 replies
Overload not typing object literals
ok more problems, I get a massive error here:
from the expression going into
geometry.push
in this function:
getActiveDiff().geometry
is Geometry[]
and this outer push
function is in the Geometry
class.
here's what the copy function looks like:
59 replies