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
I'm getting these when I try to use the @method({}) decorator:
TypeError: Cannot read properties of undefined (reading 'value')
at /home/mikel/Workspace/<>/node_modules/dbus-next/lib/service/interface.js:158:40
at __decorate (/home/mikel/Workspace/<>/node_modules/tslib/tslib.js:99:114)
at file:///home/mikel/Workspace/<>/dist/index.js:189:1
at processTicksAndRejections (node:internal/process/task_queues:96:5)
ok so I see it works if I use js and babel, while it does not work with typescript's decorators. also that the @Property decorator doesn't crash on typescript but doesn't show up in D-Feet anyway. so it's a general typescript incompatibility
I'm getting these when I try to use the @method({}) decorator:
node-dbus-next/lib/service/interface.js
Line 158 in b2a6b89
Debugging with vscode shows me that descriptor is my Interface but descriptor.descriptor is undefined so it fails on that descriptor.descriptor.value
The text was updated successfully, but these errors were encountered: