From 1847673cc6029d8bf54edbc148bcdd2b3c484d44 Mon Sep 17 00:00:00 2001 From: Hugo <hugo.cubino@estudiantes.uva.es> Date: Fri, 27 Dec 2024 15:40:42 +0100 Subject: [PATCH] Cambiados todos los index porque daba error por los .d.ts --- angular/RestClient/src/app/features/bookings/index.ts | 2 +- angular/RestClient/src/app/features/hotels/index.ts | 4 ++-- angular/RestClient/src/app/features/users/index.ts | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/angular/RestClient/src/app/features/bookings/index.ts b/angular/RestClient/src/app/features/bookings/index.ts index 2d5e764..709cc76 100644 --- a/angular/RestClient/src/app/features/bookings/index.ts +++ b/angular/RestClient/src/app/features/bookings/index.ts @@ -2,4 +2,4 @@ export * from './bookings.routes'; export * from './booking/booking.component'; export * from './[DEL] booking-list/booking-list.component'; export * from './user-booking-list/user-booking-list.component'; -export * from '@features/bookings/types/Booking'; +export type { Booking }from '@features/bookings/types/Booking'; diff --git a/angular/RestClient/src/app/features/hotels/index.ts b/angular/RestClient/src/app/features/hotels/index.ts index 2640c34..1edd437 100644 --- a/angular/RestClient/src/app/features/hotels/index.ts +++ b/angular/RestClient/src/app/features/hotels/index.ts @@ -1,6 +1,6 @@ export * from './hotels.routes'; export * from './hotel-list/hotel-list.component'; export * from './hotel-register/hotel-register.component'; -export * from '@features/hotels/types/Address'; -export * from '@features/hotels/types/Hotel'; +export type { Address } from '@features/hotels/types/Address'; +export type { Hotel } from '@features/hotels/types/Hotel'; export * from './types/Room.interface'; diff --git a/angular/RestClient/src/app/features/users/index.ts b/angular/RestClient/src/app/features/users/index.ts index b40ef49..75c6214 100644 --- a/angular/RestClient/src/app/features/users/index.ts +++ b/angular/RestClient/src/app/features/users/index.ts @@ -2,4 +2,5 @@ export * from './users.routes'; export * from './main-page/main-page.component'; export * from './user-form/user-form.component'; export * from './types/User.interface'; -export * from '@features/users/types/UserFormData'; +import type { UserFormMode, ModeType, UserFormRoute } from '@features/users/types/UserFormData'; +export type { UserFormMode, ModeType, UserFormRoute }; -- GitLab