Reference · The road to the final
RoadGroupMatchtype
One match of the group stage: as a knockout match, without a round.
Import it
import type { RoadGroupMatch } from "@johnmorrisdotca/taisen-brackets/road";
Also exported from: @johnmorrisdotca/taisen-brackets
Definition
type RoadGroupMatch = Omit<RoadMatch, "round"> & {
round?: string;
};
Members
| Name | Type | Description |
|---|---|---|
pens (optional) | readonly [string | number, string | number] | undefined | The shoot-out, the finalist's first: |
note (optional) | 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 (optional) | RoadDecided | undefined | How it was decided: |
homeFirst (optional) | boolean | undefined | The order of the pair, left to right: |
round (optional) | string | undefined |
Examples
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 ]What it prints (run when this page was built)