Reference · Rockets, variants, parts and the fit check
Companytype
One ship's company: its crew, and every room they need.
Import it
import type { Company } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface Company {
ship: CompanyShip;
crew: number;
spaces: readonly CrewSpace[];
}
Members
| Name | Type | Description |
|---|---|---|
ship | CompanyShip | |
crew | number | The ship's nominal crew, from its own specification. |
spaces | readonly CrewSpace[] |
Examples
import { companyOf } from "@johnmorrisdotca/uchusen-rockets";
console.log(companyOf("hanabusa").crew > 0);trueWhat it prints (run when this page was built)