chrvadala / node-ble

Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
https://www.npmjs.com/package/node-ble
MIT License
310 stars 45 forks source link

Add timeout and discoveryInterval optional parameters Adapter.waitDevice in index.d.ts #48

Closed mxc42 closed 1 year ago

mxc42 commented 1 year ago

Adapter.waitDevice supports two optional parameters in the docs, however these don't appear in the index.d.ts file, making them unusable in Typescript. I've added them here.

chrvadala commented 1 year ago

I released this PR with 1.9.0 and I added your name into contributions list. Thanks @mxc42 for your help