'use strict' ; import { ICar } from './ICar' ; import { Car } from '../car.entity' ; export interface ICarService { findAll ( options ) : Promise < Array < Car > > ; findById ( id ) : Promise < Car | null > ; findOne ( options ) : Promise < Car | null > ; create ( user ) : Promise < Car > ; update ( id , newValue ) : Promise < Car | null > ; delete ( id ) : Promise < void > ; }