Reference · Where every tie sits
MatchupKindtype
How a tie is contested. Left out, it is read from the other fields.
Import it
import type { MatchupKind } from "@johnmorrisdotca/taisen-brackets/layout";
Also exported from: @johnmorrisdotca/taisen-brackets
Definition
type MatchupKind = "game" | "series" | "aggregate" | "replay";
Examples
import { drawBracket, type MatchupKind } from "@johnmorrisdotca/taisen-brackets";
const kind: MatchupKind = "aggregate";
console.log(drawBracket([{ sides: ["Aurora", "Harbour"], kind, legs: [{ score: [1, 0] }, { score: [1, 1] }] }]).startsWith("<svg"));trueWhat it prints (run when this page was built)