refactor(device-feedback): rename interface

This commit is contained in:
Daniel Sogl 2018-03-23 15:38:45 +01:00 committed by GitHub
parent c15b78bab2
commit b5e04cca20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
export interface DeviceFeedbackEnabled {
export interface DeviceFeedbackStatus {
/** Haptic Feedback */
haptic: boolean;
@ -67,7 +67,7 @@ export class DeviceFeedback extends IonicNativePlugin {
* @returns {Promise<DeviceFeedbackEnabled>}
*/
@Cordova()
isFeedbackEnabled(): Promise<DeviceFeedbackEnabled> {
isFeedbackEnabled(): Promise<DeviceFeedbackStatus> {
return;
}
}