Closed OlivierZal closed 1 year ago
Since opts means options, this parameter should be optional, so
opts
options
export class DeviceCapability { value: boolean | number | string | null; lastChanged: Date | null; destroy(): any; setValue( value: boolean | number | string, opts: object, ): Promise<any>; }
should rather be:
export class DeviceCapability { value: boolean | number | string | null; lastChanged: Date | null; destroy(): any; setValue( value: boolean | number | string, opts?: object, ): Promise<any>; }
Fixed in 3.0.7
Confirmed
Since
opts
meansoptions
, this parameter should be optional, soshould rather be: