Removed type from enum

This commit is contained in:
Linus Flood
2024-12-13 09:23:43 +01:00
parent 742a2820d1
commit 6f1d5129e9
3 changed files with 9 additions and 6 deletions

View File

@@ -36,10 +36,11 @@ import styles from "./page.module.css"
import { ChildBedMapEnum } from "@/types/components/bookingWidget/enums"
import type { SelectRateSearchParams } from "@/types/components/hotelReservation/selectRate/selectRate"
import type {
import {
TrackingChannelEnum,
TrackingSDKHotelInfo,
TrackingSDKPageData} from "@/types/components/tracking";
TrackingSDKPageData,
} from "@/types/components/tracking"
import { StepEnum } from "@/types/enums/step"
import type { LangParams, PageArgs } from "@/types/params"

View File

@@ -20,10 +20,11 @@ import type {
NullableHotelData,
} from "@/types/components/hotelReservation/selectHotel/hotelCardListingProps"
import type { SelectHotelMapContainerProps } from "@/types/components/hotelReservation/selectHotel/map"
import type {
import {
TrackingChannelEnum,
TrackingSDKHotelInfo,
TrackingSDKPageData} from "@/types/components/tracking";
TrackingSDKPageData,
} from "@/types/components/tracking"
import type { Lang } from "@/constants/languages"
function isValidHotelData(hotel: NullableHotelData): hotel is HotelData {

View File

@@ -32,10 +32,11 @@ import styles from "./selectHotel.module.css"
import { ChildBedMapEnum } from "@/types/components/bookingWidget/enums"
import type { HotelData } from "@/types/components/hotelReservation/selectHotel/hotelCardListingProps"
import type { SelectHotelProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
import type {
import {
TrackingChannelEnum,
TrackingSDKHotelInfo,
TrackingSDKPageData} from "@/types/components/tracking";
TrackingSDKPageData,
} from "@/types/components/tracking"
import { AlertTypeEnum } from "@/types/enums/alert"
import type { Lang } from "@/constants/languages"