Exploring Typescript: Is there a distinction between the two square bracket notations? After running some tests, it appears they function equivalently. Any insights would be appreciated!
interface test {
a: string;
b: string;
}
const x: test[] = [{a: "aaaa", b: "bbbb"}]
const y: [test] = [{a: "aaaa", b: "bbbb"}]