Q:

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
0

New to Communities?

Join the community