refactor(device-feedback): rename interface
This commit is contained in:
parent
c15b78bab2
commit
b5e04cca20
@ -1,7 +1,7 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||||
|
|
||||||
export interface DeviceFeedbackEnabled {
|
export interface DeviceFeedbackStatus {
|
||||||
/** Haptic Feedback */
|
/** Haptic Feedback */
|
||||||
haptic: boolean;
|
haptic: boolean;
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ export class DeviceFeedback extends IonicNativePlugin {
|
|||||||
* @returns {Promise<DeviceFeedbackEnabled>}
|
* @returns {Promise<DeviceFeedbackEnabled>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
isFeedbackEnabled(): Promise<DeviceFeedbackEnabled> {
|
isFeedbackEnabled(): Promise<DeviceFeedbackStatus> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user