BuildWords型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The words the build bar says, each of which a page can replace. {day}, {done}, {total} and {rate} are filled in.
インポート
import type { BuildWords } from "@johnmorrisdotca/uchusen-rockets";
定義
interface BuildWords {
play: string;
pause: string;
start: string;
repeat: string;
range: string;
day: string;
done: string;
rate: string;
flight: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
play | string | |
pause | string | |
start | string | |
repeat | string | |
range | string | |
day | string | |
done | string | |
rate | string | |
flight | string |
|
例
import type { BuildWords } from "@johnmorrisdotca/uchusen-rockets";
const words: Partial<BuildWords> = { play: "Start" };
console.log(words.play);Start出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。