Many methods (e.g. cellToLatLng()) return a tuple of latitude, longitude.
They are documented as returning a variable-length array of numbers (number[]), while in practice they should return a fixed-length array.
Is there a reason not to document this as [number, number] instead? This could help in TS projects with strictly configured index access.
Thanks
Further reading
Many methods (e.g.
cellToLatLng()) return a tuple of latitude, longitude.They are documented as returning a variable-length array of numbers (
number[]), while in practice they should return a fixed-length array.Is there a reason not to document this as
[number, number]instead? This could help in TS projects with strictly configured index access.Thanks
Further reading