- 追加された行はこの色です。
- 削除された行はこの色です。
- TypeScript/型/タプル へ行く。
- TypeScript/型/タプル の差分を削除
#author("2019-10-09T14:34:21+09:00","default:ryuichi","ryuichi") * タプル [#nb53cd92] const exampleTuple1: [string, number] = ['hello', 10]; // OK const exampleTuple2: [string, number] = ['hello', 10, 'world']; // エラー const exampleTuple3: [string, number] = ['hello', 10, 'world', 20]; // エラー const exampleTuple4: [string, number] = ['hello']; // エラー