mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-04 20:18:12 +00:00
restruct: types organization
This commit is contained in:
@@ -100,7 +100,7 @@ import { useStore } from '../../store';
|
||||
import imageMixin from '../../mixins/imageMixin';
|
||||
import stockMixin from '../../mixins/stockMixin';
|
||||
|
||||
import { IRealComposition, VehicleGroupType } from '../../types';
|
||||
import { IRealComposition, VehicleGroupType } from '../../types/common.types';
|
||||
|
||||
function getVehicleType(stockType: string): VehicleGroupType {
|
||||
if (/^E/.test(stockType)) return 'loco-electric';
|
||||
|
||||
Reference in New Issue
Block a user