You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit:
I noticed that the value 0x41 I am using in my adapter is already in there, but it is not available to TypeScript during my development it seems. I had updated js-controller to version 5.0.5, what else is missing here?
The text was updated successfully, but these errors were encountered:
Thanks for the report. The types are currently still used from official @types package. During the next days, we will try to publish the types for the new controller version. I will let you know as soon as this is the case.
The values for STATE_QUALITY in
packages/types-dev/index.d.ts
seem outdated, for example, one could receive the following TypeScript error:Type '64' is not assignable to type 'StateQuality | undefined'.
I think the values in
ioBroker.js-controller/packages/types-dev/index.d.ts
Lines 17 to 48 in cb37f86
shall be updated with values from
https://github.com/ioBroker/ioBroker.docs/blob/6cf3906bc43bd3b31821902c78abd8babe4f93d3/docs/en/dev/objectsschema.md?plain=1#L133-L153
As an example, I had to ignore the TS errors like this jpawlowski/ioBroker.residents@71d2e5d
Edit:
I noticed that the value
0x41
I am using in my adapter is already in there, but it is not available to TypeScript during my development it seems. I had updated js-controller to version 5.0.5, what else is missing here?The text was updated successfully, but these errors were encountered: