-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support TypeScript decorators #101
Comments
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 |
https://acrisci.github.io/doc/node-dbus-next/module-interface-Interface.html use |
mikelpr
changed the title
TypeError: Cannot read properties of undefined (reading 'value')
support TypeScript decorators
Oct 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: