UNPKG
@vim-crouwel/cfpc
Version:
latest (1.0.1)
1.0.1
1.0.0
TypeScript library for calculating CO2 emissions from food, energy, and transportation
@vim-crouwel/cfpc
/
dist
/
types
/
transportation.d.ts
12 lines
(11 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
type
TransportationMode
=
{
co2_per_km:
number;
source:
string;
}
;
export
type
TransportationCategory
=
{
car:
TransportationMode;
bus:
TransportationMode;
train:
TransportationMode;
motorbike:
TransportationMode;
bicycle:
TransportationMode;
}
;