Comments (11)
Digging deeper, this is an issue in hap-nodejs, not in homebridge itself. hap-nodejs defines ambient types for dbus-native already but it doesn’t export those. One possibility could be to submit the ambient types to https://github.com/DefinitelyTyped/DefinitelyTyped/
from hap-nodejs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hap-nodejs.
This issue has been closed as no further activity has occurred.
from hap-nodejs.
This is a bug / regression to be sure. @Supereg - any direction on how you want to deal with this one?
Current workaround is to lock plugin builds to Homebridge 1.5.1...works, but not ideal.
from hap-nodejs.
Digging deeper, this is an issue in hap-nodejs, not in homebridge itself. hap-nodejs defines ambient types for dbus-native already but it doesn’t export those. One possibility could be to submit the ambient types to https://github.com/DefinitelyTyped/DefinitelyTyped/
As you found out, we provide an incomplete type declaration file for dbus-native (as it is only used within the project itself). Isn't that enough to package the .d.ts
file within the hap-nodejs package? Submitting it to the DefinitlyTyped
repository doesn't make sense as the type declaration file isn't complete.
from hap-nodejs.
Good point, shipping the ambient declaration should work just fine
from hap-nodejs.
Good point, shipping the ambient declaration should work just fine
But then the question is, why did the TypeScript compiler complain? Is there anything wrong with our type definition?
from hap-nodejs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hap-nodejs.
This issue has been closed as no further activity has occurred.
from hap-nodejs.
This issue has been closed as no further activity has occurred.
from hap-nodejs.
This issue was fixed in the latest beta release and will come live with hap-nodejs 0.11.1 and homebridge 1.6.1.
See #1005
from hap-nodejs.
Related Issues (20)
- Accessories states in Home App does not update when controlled manually HOT 12
- handleSnapshotRequest reason sometimes passed in as "undefined" HOT 2
- allow to specify a different IP in mDSN advertisement HOT 1
- Special Characters in Name HOT 11
- Node 16 to 18 update - Alpine - Docker - Synology
- node.js update HOT 1
- Node.js Update HOT 1
- Minimum Current Ambient Light Level warning HOT 1
- Lot of mDNS queries HOT 7
- Test permissions on "persist" storage location before publish
- `updateCharacteristic` won't work after `Client connection closed` HOT 11
- lib v1.x.x adding any accessory HomeKit Error HOT 9
- How to run HAP-NodeJS inside Docker container HOT 5
- How to update the device status HOT 5
- TypeError: crypto_1.default.getCiphers is not a function at Object../node_modules/hap-nodejs/dist/lib/util/hapCrypto.js HOT 6
- v0.11.0 fails on Synology HOT 15
- VOC Density characteristic incorrectly set as a float and limited to 1000 HOT 4
- Setting Characteristic minValue via setProps results in debug error if the current value is lower than the new minValue HOT 6
- Interpreting Siri Commands HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hap-nodejs.