From d87db3774da05e30a376eaa432aae2308044bb1f Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Tue, 28 May 2024 00:01:49 +0200 Subject: [PATCH] fix: state variable name --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index e723c067..7b5a2314 100644 --- a/index.d.ts +++ b/index.d.ts @@ -50,7 +50,7 @@ export declare function removeListener(event: string, listener: Function): event export declare function removeAllListeners(event?: string): events.EventEmitter; -export declare var state: string; +export var _state: "unknown" | "resetting" | "unsupported" | "unauthorized" | "poweredOff" | "poweredOn"; export var _bindings: any;