BlackHoleKindtype
The kind of a black hole: stellar, quiet or supermassive.
Import it
import type { BlackHoleKind } from "@johnmorrisdotca/hoshi-stars/black-holes";
Definition
type BlackHoleKind = (typeof BLACK_HOLE_KINDS)[number];
Examples
import { blackHole, type BlackHoleKind } from "@johnmorrisdotca/hoshi-stars/black-holes";
const kind: BlackHoleKind = blackHole("Cygnus X-1")!.kind;
console.log(kind);stellarWhat it prints (run when this page was built)