I'm working with a legacy variable defined quite some time ago.
export const constellationNancyRomanTable = [
[0.0000,24.0000,88.0000,'UMi'],
[8.0000,14.5000,86.5000,'UMi'],
[21.0000,23.0000,86.1667,'UMi'],
[18.0000,21.0000,86.0000,'UMi'],
...
]
However, I'm very new to Typescript - so I'm half thinking of porting this variable to a new object based syntax as I understand type definitions for objects, but this array of arrays is alluding me. However, I was wondering how to define such a type / interface?
I'm thinking something along this line:
export interface ConstellationNancyRoman = Array<Array<[number, number, number, string]>>
Is somewhat correct?
interface, looks like you've confused it with atype.