Implement changes requested

This commit is contained in:
John-Luke 2016-11-30 20:24:33 -03:00 committed by GitHub
parent bab2971c58
commit db99482157

View File

@ -23,10 +23,13 @@ export class HeaderColor {
/**
* Set a color to the task header
* @param color {string} The color
* @param {Object} Optional callbacks
* @param color {string} The color 
*/
@Cordova()
static tint(color: string, callbacks?: {success?: Function, failure?: Function}): void { }
@Cordova({
callbackStyle: 'object',
successName: 'success',
errorName: 'failure'
})
static tint(color: string): Promise<any> { }
}
}