Begin typescript transition
This commit is contained in:
parent
7c8f59c56a
commit
8dc0b102a0
@ -13,6 +13,7 @@ const tocMap = {
|
|||||||
ht: 'Hull Trains',
|
ht: 'Hull Trains',
|
||||||
tl: 'Thameslink',
|
tl: 'Thameslink',
|
||||||
gc: 'Grand Central',
|
gc: 'Grand Central',
|
||||||
|
gx: 'Gatwick Express',
|
||||||
hx: 'Heathrow Express',
|
hx: 'Heathrow Express',
|
||||||
ls: 'Locomotive Services Limited',
|
ls: 'Locomotive Services Limited',
|
||||||
me: 'Merseyrail',
|
me: 'Merseyrail',
|
||||||
@ -35,7 +36,18 @@ const tocMap = {
|
|||||||
ld: 'Lumo',
|
ld: 'Lumo',
|
||||||
so: 'Rail Adventure',
|
so: 'Rail Adventure',
|
||||||
ln: 'Grand Union Trains',
|
ln: 'Grand Union Trains',
|
||||||
zz: 'Freight/Charter Company'
|
zz: 'Freight/Charter Company',
|
||||||
|
wm: 'West Midlands Railway (WMT)',
|
||||||
|
uk: 'Unknown Operator'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const tocs = new Map<string, string>([
|
||||||
|
['uk', 'Unknown Operator'],
|
||||||
|
['wm', 'West Midlands Railway (WMT)'],
|
||||||
|
['zz', 'Freight/Charter Operation'],
|
||||||
|
['ln', 'Grand Union Trains'],
|
||||||
|
['so', 'Rail Adventure']
|
||||||
|
])
|
||||||
|
|
||||||
export default tocMap;
|
export default tocMap;
|
||||||
|
export { tocs }
|
Loading…
Reference in New Issue
Block a user