Quitados errores de import

This commit is contained in:
onsaliyo 2021-03-31 13:22:25 +02:00
parent 099180f8d2
commit 77016910fd
3 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
import {Evento} from './evento';
import {Eventoi} from './interfaces/eventoi';
export class Discoteca {
@ -7,7 +7,7 @@ export class Discoteca {
private nombre: string;
private telefono: number;
private localizacion: string;
private eventos: Evento[];
private eventos: Eventoi[];
private descripcion: string;
setId(id: number): void{
@ -42,7 +42,7 @@ export class Discoteca {
return this.localizacion
}
getEventos(): Evento[]{
getEventos(): Eventoi[]{
return this.eventos;
}

View File

@ -6,7 +6,6 @@ import { PerfilDiscotecaPage } from '../perfil-discoteca/perfil-discoteca.page'
import { IonSlides} from '@ionic/angular';
import { AlertController } from '@ionic/angular';
import { ViewChild } from '@angular/core';
import { Evento } from '../evento';
import { Router } from '@angular/router';
import { from } from 'rxjs';

View File

@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { Evento } from '../evento';
import { Eventoi } from '../interfaces/eventoi';
import { Tab1Service } from '../tab1/tab1.service';
@Component({
@ -9,7 +9,7 @@ import { Tab1Service } from '../tab1/tab1.service';
})
export class ViewEventoPage implements OnInit {
evento: Evento;
evento: Eventoi;
constructor(private tab1Service: Tab1Service) { }