Skip to content

Commit

Permalink
fix: update type for FirmwareUpdateServiceResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 committed Oct 2, 2023
1 parent 506f1ea commit aa13618
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/zwave-js/src/lib/controller/_Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export type FirmwareUpdateDeviceID = Expand<
export interface FirmwareUpdateServiceResponse {
version: string;
changelog: string;
channel: "stable" | "beta";
/** When using the V1 API, channel is not returned and should be assumed to be
* stable */
channel?: "stable" | "beta";
files: FirmwareUpdateFileInfo[];
downgrade: boolean;
normalizedVersion: string;
Expand Down

0 comments on commit aa13618

Please sign in to comment.