CityNameTier型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The kuni tiers a view needs, in the order they are loaded: the capitals, the other cities of a million, and the others of 100,000.
インポート
import type { CityNameTier } from "@johnmorrisdotca/chikyu-earth/realistic";
定義
type CityNameTier = "capitals" | "1m" | "100k";
例
import type { CityNameTier } from "@johnmorrisdotca/chikyu-earth/realistic";
const tier: CityNameTier = "1m";
console.log(tier);1m出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。