ChartLayertype
One of CHART_LAYERS.
Import it
import type { ChartLayer } from "@johnmorrisdotca/hoshi-stars/chart";
Definition
type ChartLayer = (typeof CHART_LAYERS)[number];
Examples
import type { ChartLayer } from "@johnmorrisdotca/hoshi-stars/chart";
const layers: ChartLayer[] = ["lines", "boundaries"];
console.log(layers.length);
// 22What it prints (run when this page was built)