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
javascript.0 (8389) script.js.common.aliasCreation: TypeScript compilation failed: alias: { ^ ERROR: Argument of type '{ type: "state"; common: { name: string; type: "number"; unit: string; read: true; write: false; role: string; alias: { id: string; }; }; native: {}; }' is not assignable to parameter of type 'Object'. Types of property 'common' are incompatible. Type '{ name: string; type: "number"; unit: string; read: true; write: false; role: string; alias: { id: string; }; }' is not assignable to type 'StateCommon'. Object literal may only specify known properties, and 'alias' does not exist in type 'StateCommon'.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I wanted to create an alias via setObject in a typescript script:
On compilation the following error occurs:
The text was updated successfully, but these errors were encountered: