import { InMemoryDbService } from 'angular-in-memory-web-api' ; import { Contact } from './contacts/shared/models/' ; import { CONTACTS } from './contacts/shared/data/mock-contacts' ; export class InMemoryDataService implements InMemoryDbService { createDb ( ) { const contacts = CONTACTS ; return { contacts } ; } }