refactor: follow callable-types lint rule

This commit is contained in:
Daniel
2018-09-17 16:18:31 +02:00
parent 26a8df9b7c
commit 89ed51cc49
4 changed files with 16 additions and 68 deletions
+2 -6
View File
@@ -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;