Each has a corresponding type in TypeScript. ... To specify the type of an array like [1, 2, 3] , you can use the syntax number[] ; this syntax works for ...
確定! 回上一頁