Orientation型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Whether the board lies across the page or stands up in it.
インポート
import type { Orientation } from "@johnmorrisdotca/sugoroku/draw";
定義
type Orientation = "landscape" | "portrait";
例
import type { Orientation } from "@johnmorrisdotca/sugoroku/draw";
const value: Orientation = "landscape";
console.log(value);landscape出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。