Playground
type MyArray = [number, number, number][];
const test1: MyArray = [[1, 2, 3]];
const test2: MyArray = [[1, 2, 3], [4, 5, 6]];
const test3: MyArray = [[1, 2, 3], [1]]; // error
const test4: MyArray = [[1, 2, 3], [4, 5, 6, 7]]; // error
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…