Skip to content

Commit

Permalink
Use discrete string states for _state
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson authored and rzr committed Apr 11, 2024
1 parent 5b9f2ff commit de15823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export declare function removeListener(event: string, listener: Function): event

export declare function removeAllListeners(event?: string): events.EventEmitter;

export var _state: string;
export var _state: "unknown" | "resetting" | "unsupported" | "unauthorized" | "poweredOff" | "poweredOn";

export var _bindings: any;

Expand Down

1 comment on commit de15823

@rzr
Copy link

@rzr rzr commented on de15823 Apr 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node.js package / Quality phase (pull_request) Failing after 48s

Please sign in to comment.