Can't find imported item


#1

Import is correct, name also… But Ionic won’t find him…

heroes-list.ts

import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

import { Hero } from '../../model/hero';
import { Heroes } from '../../model/mock-heroes';


@IonicPage()
@Component({
  selector: 'page-heroes-list',
  templateUrl: 'heroes-list.html',
})
export class HeroesListPage {

  heroes: Heroes;

  selectedHero: Hero;

  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad HeroesListPage');
  }

}

mock-heroes.ts

import { Hero } from './hero';

export const Heroes: Hero[] = [
  { name: 'Mr. Nice' },
  { name: 'Narco' },
  { name: 'Bombasto' },
  { name: 'Celeritas' },
  { name: 'Magneta' },
  { name: 'RubberMan' },
  { name: 'Dynama' },
  { name: 'Dr IQ' },
  { name: 'Magma' },
  { name: 'Tornado' }
];

#2

Solved, eyes mess the : instead of =