PlaceKind型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a place is to the reader: here (where they are, drawn bright, with a quiet pulse) or favourite (a place they keep, drawn quieter).
インポート
import type { PlaceKind } from "@johnmorrisdotca/chikyu-earth/markers";
定義
type PlaceKind = "here" | "favourite";
例
import type { PlaceKind } from "@johnmorrisdotca/chikyu-earth/markers";
const kind: PlaceKind = "here";
console.log(kind);here出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。