refactor(device-feedback): rename interface
This commit is contained in:
parent
c15b78bab2
commit
b5e04cca20
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user