mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactor: follow callable-types lint rule
This commit is contained in:
@@ -77,9 +77,5 @@ export class HCE extends IonicNativePlugin {
|
||||
}
|
||||
}
|
||||
|
||||
export interface HCECommandEvent {
|
||||
(command: Uint8Array): void;
|
||||
}
|
||||
export interface HCEDeactivatedEvent {
|
||||
(command: number): void;
|
||||
}
|
||||
export type HCECommandEvent = (command: Uint8Array) => void;
|
||||
export type HCEDeactivatedEvent = (command: number) => void;
|
||||
|
||||
Reference in New Issue
Block a user