2021-10-02 【TypeScript】Array型 Array型 const colors: string[] = ['Red', 'Blue', 'Yellow'] 上記にstring型以外のものをいれようとするとエラーが発生する