BuilderState型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What the builder shows for a set of picks: its rows, the description they make and the fit report for it.
インポート
import type { BuilderState } from "@johnmorrisdotca/uchusen-rockets";
定義
interface BuilderState {
rows: readonly BuilderRow[];
description: Description;
report: FitReport;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
rows | readonly BuilderRow[] | |
description | Description | |
report | FitReport |
例
import { builderState, type BuilderState } from "@johnmorrisdotca/uchusen-rockets";
const state: BuilderState = builderState();
console.log(state.rows.length, state.report.ok);2 true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。