SunTimeNametype
The names of the Sun's times that getTimes gives.
Import it
import type { SunTimeName } from "@johnmorrisdotca/wakusei-planets/suncalc";
Definition
type SunTimeName = "sunrise" | "sunset" | "sunriseEnd" | "sunsetStart" | "dawn" | "dusk" | "nauticalDawn" | "nauticalDusk" | "nightEnd" | "night" | "goldenHourEnd" | "goldenHour";
Examples
import { type SunTimeName } from "@johnmorrisdotca/wakusei-planets/suncalc";
const name: SunTimeName = "goldenHour";
console.log(name);goldenHourWhat it prints (run when this page was built)