Skip to content

Commit

Permalink
Fixed accessory characteristic-warning event signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Oct 20, 2020
1 parent 77a2042 commit 80ef334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Accessory.ts
Expand Up @@ -270,7 +270,7 @@ export declare interface Accessory {
on(event: "paired", listener: () => void): this;
on(event: "unpaired", listener: () => void): this;

on(event: "characteristic-warning-v2", listener: (characteristic: Characteristic, type: CharacteristicWarningType, message?: string) => void): this;
on(event: "characteristic-warning-v2", listener: (characteristic: Characteristic, type: CharacteristicWarningType, message: string) => void): this;


emit(event: "identify", paired: boolean, callback: VoidCallback): boolean;
Expand Down

0 comments on commit 80ef334

Please sign in to comment.