mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-24 22:17:06 +08:00
Update Ping.read() callback
This commit is contained in:
2
types/johnny-five/index.d.ts
vendored
2
types/johnny-five/index.d.ts
vendored
@@ -597,7 +597,7 @@ export declare class Pin {
|
||||
mode: number;
|
||||
|
||||
static write(pin: number, value: number): void;
|
||||
static read(pin: number, cb: (data: number) => void): void;
|
||||
static read(pin: number, cb: (error: Error, data: number) => void): void;
|
||||
query(cb: (pin: PinState) => void): void;
|
||||
high(): void;
|
||||
low(): void;
|
||||
|
||||
Reference in New Issue
Block a user