タプル

 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'];                  // エラー

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2019-10-09 (水) 14:34:21