Reference · Rockets, variants, parts and the fit check
MaterialNametype
The name of one material in MATERIALS.
Import it
import type { MaterialName } from "@johnmorrisdotca/uchusen-rockets";
Definition
type MaterialName = keyof typeof MATERIALS;
Examples
import type { MaterialName } from "@johnmorrisdotca/uchusen-rockets";
const name: MaterialName = "steel";
console.log(name);steelWhat it prints (run when this page was built)