Displayed below is a variable that contains a collection of objects:
scenes = {
sky: {
image: 'assets/1.jpg',
points: {
blue_area: {
x: 1,
y: 2
},
}
},
blue_area: {
image: 'assets/2.jpg',
points: {
sky: {
x: 1,
y: 2
}
}
}
};
What is the best way to define an interface for this specific type of variable?