Property '0' is missing in type '[]' but required in type '[{ color_id: number; previous_node: { x: number; y: number; }; }]'.ts(2741) code example
Example: Property '0' is missing in type '[]' but required in type '
myArray:[]; //Incorrect, results in error message of `Property '0' is missing in type`
myArray: Array<string>; //Correct
myArray: string[]; //Also correct