Reference · The road to the final
RoadSizetype
The sizes of the road chart are the bracket's: card (the default here), square, wide (the finalists at the two ends) and phone.
Import it
import type { RoadSize } from "@johnmorrisdotca/taisen-brackets/road";
Also exported from: @johnmorrisdotca/taisen-brackets
Definition
type RoadSize = SizeName;
Examples
import { roadToFinal, type RoadSize } from "@johnmorrisdotca/taisen-brackets";
const size: RoadSize = "wide";
console.log(roadToFinal([{ name: "Owls", path: [] }, { name: "Gulls", path: [] }], { size }).draw().startsWith("<svg"));trueWhat it prints (run when this page was built)