Why this code gives no error?
type X = number[]; let z: X = [];
Empty array is not the same as array of numbers
没有评论:
发表评论