OpenWonderLabs / node-switchbot

The node-switchbot is a Node.js module which allows you communicate with SwitchBot Devices over BLE or OpenAPI
https://openwonderlabs.github.io/node-switchbot/
ISC License
71 stars 25 forks source link

Fix TypeScript issues #235

Closed dnicolson closed 7 months ago

dnicolson commented 8 months ago

:recycle: Current situation

There are ParameterChecker issues after the TypeScript migration and some TypeScript issues.

:bulb: Proposed solution

Fix the issues and import types from Noble. Enforce no explicit any in ESLint.

There are some TypeScript errors related to the _state property, https://github.com/abandonware/noble/pull/327 and https://github.com/abandonware/noble/pull/328 will fix those.

github-actions[bot] commented 7 months ago

This pull request 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.

github-actions[bot] commented 7 months ago

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.