Closed OlivierZal closed 1 year ago
return device.makeCapabilityInstance( capability, async (value: number | string): Promise<void> => { ... } )
raises the following typescript error:
Argument of type '(value: number | string) => Promise<void>' is not assignable to parameter of type '{ value: string | number | boolean; }'. typescript(2345)
Is a duplicate of https://github.com/athombv/homey-web-api-issues/issues/33
raises the following typescript error: