League型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A league with a playoff format by era: nhl, nba, mlb, nfl, cfl, mls or worldcup.
インポート
import type { League } from "@johnmorrisdotca/taisen-brackets/presets";
ほかのエクスポート元: @johnmorrisdotca/taisen-brackets
定義
type League = "nhl" | "nba" | "mlb" | "nfl" | "cfl" | "mls" | "worldcup";
例
import { playoffFormat, type League } from "@johnmorrisdotca/taisen-brackets";
const league: League = "nhl";
console.log(playoffFormat(league, 2024)?.teams);16出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。