chore(android): fix type in DeviceBackend (#7628)
This commit is contained in:
parent
ebaa2dd824
commit
03b26ec783
|
|
@ -40,7 +40,7 @@ export interface Backend {
|
||||||
export interface DeviceBackend {
|
export interface DeviceBackend {
|
||||||
serial: string;
|
serial: string;
|
||||||
status: string;
|
status: string;
|
||||||
close(): void;
|
close(): Promise<void>;
|
||||||
init(): Promise<void>;
|
init(): Promise<void>;
|
||||||
runCommand(command: string): Promise<Buffer>;
|
runCommand(command: string): Promise<Buffer>;
|
||||||
open(command: string): Promise<SocketBackend>;
|
open(command: string): Promise<SocketBackend>;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue