TypeScriptメモ

type Item = Items[number]
const a: ReadonlyArray<string> = ['a', 'b', 'c'];
const b: ReadonlyArray<string> = ['a', 'b', 'c'];