Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type ZCLEnum8Status = 'SUCCESS' | 'FAILURE' | 'NOT_AUTHORIZED' | 'RESERVED_FIELD

export interface ZCLNodeCluster extends EventEmitter {
/** Dynamic command handler methods (e.g. `onZoneStatusChangeNotification`). */
[key: string]: unknown;
[key: `on${string}`]: unknown;

discoverCommandsGenerated(params?: {
startValue?: number;
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ type ZCLEnum8Status = ${zclTypeToTS(ZCLDataTypes.enum8Status, false)};
// Base ZCLNodeCluster interface
lines.push(`export interface ZCLNodeCluster extends EventEmitter {
/** Dynamic command handler methods (e.g. \`onZoneStatusChangeNotification\`). */
[key: string]: unknown;
[key: \`on\${string}\`]: unknown;

discoverCommandsGenerated(params?: {
startValue?: number;
Expand Down
Loading