feat(SW-914): type change

This commit is contained in:
Fredrik Thorsson
2024-11-27 17:03:07 +01:00
parent ae01146376
commit b889787606

View File

@@ -4,14 +4,7 @@ export type ParkingAmenityProps = {
parking: Hotel["parking"]
}
type parkingData = {
period?: string
amount?: number
startTime?: string
endTime?: string
}
export type ParkingPricesProps = {
data?: parkingData[]
data?: Hotel["parking"][number]["pricing"]["localCurrency"]["ordinary"]
currency?: Hotel["parking"][number]["pricing"]["localCurrency"]["currency"]
}