1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
export type Inventory = { description: string; name: string; symbol: string; units: number; }; export type Cargo = { "capacity": number; "units": number; "inventory": Array<Inventory>; }; // Custom type, not from space traders api export type CargoManifest = { [key: string]: number; };