Creating an empty array is super easy: const foo: string[] = [];. If you want to create an array pre-filled with some content use the ES6 ...
確定! 回上一頁