import { HeaderColor } from '@ionic-native/header-color' ; export class HeaderColorMock extends HeaderColor { param color { string } returns { Promise < any > } tint ( color ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }