-
Notifications
You must be signed in to change notification settings - Fork 297
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
Enforce TS strict
type checking
#1146
Conversation
Note to self: all tests are passing locally in c9933a8 (ci fails because of build) |
Tests are passing as of 7fe3e4e and most adapters should now be nearly covered. @Koenkk if you can take a look at the PS: Only glanced at it, but you can probable remove |
TODO:
strict
type checking. zigbee2mqtt#23601Also:
undefined
instead ofnull
allows to reduce MQTT payload sizes by skipping the property entirely (often multiplied by number of devices, so, should make a decent difference)asyncSet
function toSerialPort
disconnected
event to restart Z2M when adapter needs resetting instead of handling internally (aligns behavior with other stacks, ensures clean slate).