Reference · The <wakusei-space> element: the Earth, Moon, Sun and planets in their places
SpaceLighttype
How the Earth is lit: sun is the true light; lit is daylight from the camera's side, so a view of the night side is never black.
Import it
import type { SpaceLight } from "@johnmorrisdotca/wakusei-planets/space/element";
Definition
type SpaceLight = "sun" | "lit";
Examples
import type { SpaceLight } from "@johnmorrisdotca/wakusei-planets/space/element";
const light: SpaceLight = "lit";
console.log(light);