Reference · Places: countries of a continent, and search (the size counts every tier)
PlaceContinenttype
A continent as the groupings name it.
Import it
import type { PlaceContinent } from "@johnmorrisdotca/kuni/places";
Definition
interface PlaceContinent {
code: Continent;
name: {
en: string;
ja: string;
};
}
Members
| Name | Type | Description |
|---|---|---|
code | "AF" | "AS" | "NA" | "SA" | "AN" | "EU" | "OC" | "AF", "AN", "AS", "EU", "NA", "OC" or "SA". |
name | { en: string; ja: string; } | Its name in English and in Japanese. |
Examples
import type { PlaceContinent } from "@johnmorrisdotca/kuni/places";
const value: PlaceContinent | null = null;
console.log(value);nullWhat it prints (run when this page was built)