RoadGroupMatch型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One match of the group stage: as a knockout match, without a round.
インポート
import type { RoadGroupMatch } from "@johnmorrisdotca/taisen-brackets/road";
ほかのエクスポート元: @johnmorrisdotca/taisen-brackets
定義
type RoadGroupMatch = Omit<RoadMatch, "round"> & {
round?: string;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
pens (省略可) | readonly [string | number, string | number] | undefined | The shoot-out, the finalist's first: |
note (省略可) | string | undefined | Words to write under the score in place of FT, AET or the shoot-out ( |
score | RoadScore | The score, the finalist's first: |
opponent | RoadTeam | The team it played: its name, abbreviation, |
decidedBy (省略可) | RoadDecided | undefined | How it was decided: |
homeFirst (省略可) | boolean | undefined | The order of the pair, left to right: |
round (省略可) | string | undefined |
例
import { type RoadGroupMatch } from "@johnmorrisdotca/taisen-brackets";
const opener: RoadGroupMatch = { opponent: { name: "Summit Peaks", abbr: "SMT" }, score: [0, 0] };
console.log(opener.score);[ 0, 0 ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。