Merge branch 'master' into v5

This commit is contained in:
Daniel
2018-12-01 16:55:01 +01:00
parent 31e4058257
commit 165c3cc211
20 changed files with 904 additions and 192 deletions
@@ -49,7 +49,9 @@ export class TapticEngine extends IonicNativePlugin {
* @returns {Promise<any>} Returns a promise that resolves on success and rejects on error
*/
@Cordova()
notification(options: { type: string }): Promise<any> {
notification(options: {
type: 'success' | 'warning' | 'error';
}): Promise<any> {
return;
}
@@ -60,7 +62,7 @@ export class TapticEngine extends IonicNativePlugin {
* @returns {Promise<any>} Returns a promise that resolves on success and rejects on error
*/
@Cordova()
impact(options: { style: string }): Promise<any> {
impact(options: { style: 'light' | 'medium' | 'heavy' }): Promise<any> {
return;
}