Reference · Shizen and Arashi environments
EarthquakeOptionstype
The earthquake mode and optional enabled flag.
Import it
import type { EarthquakeOptions } from "@johnmorrisdotca/houseki/nature";
Definition
interface EarthquakeOptions {
readonly kind: EarthquakeKind;
readonly enabled?: boolean;
}
Members
| Name | Type | Description |
|---|---|---|
kind | EarthquakeKind | |
enabled (optional) | boolean | undefined |
Examples
import type { EarthquakeOptions } from "@johnmorrisdotca/houseki/nature";
const value: EarthquakeOptions = {kind:"fault"};
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);[ 'kind' ]What it prints (run when this page was built)