Begin typescript transition

This commit is contained in:
Fred Boniface 2023-07-24 00:46:07 +01:00
parent 7c8f59c56a
commit 8dc0b102a0
2 changed files with 14 additions and 2 deletions

View File

@ -13,6 +13,7 @@ const tocMap = {
ht: 'Hull Trains',
tl: 'Thameslink',
gc: 'Grand Central',
gx: 'Gatwick Express',
hx: 'Heathrow Express',
ls: 'Locomotive Services Limited',
me: 'Merseyrail',
@ -35,7 +36,18 @@ const tocMap = {
ld: 'Lumo',
so: 'Rail Adventure',
ln: 'Grand Union Trains',
zz: 'Freight/Charter Company'
zz: 'Freight/Charter Company',
wm: 'West Midlands Railway (WMT)',
uk: 'Unknown Operator'
};
export default tocMap;
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 { tocs }