RoadSize型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
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 type { RoadSize } from "@johnmorrisdotca/taisen-brackets/road";
ほかのエクスポート元: @johnmorrisdotca/taisen-brackets
定義
type RoadSize = SizeName;
例
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"));true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。