Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The HID object contains a function "getDeviceInfo", but the type definition declared it as "generateDeviceInfo", which causes a compilation error. This commit only renames the exposed function's name to getDeviceInfo. ``` HID { _events: [Object: null prototype] { newListener: [Function (anonymous)] }, _eventsCount: 1, _maxListeners: undefined, _raw: HID {}, write: [Function: bound write], getFeatureReport: [Function: bound getFeatureReport], sendFeatureReport: [Function: bound sendFeatureReport], setNonBlocking: [Function: bound setNonBlocking], readSync: [Function: bound readSync], readTimeout: [Function: bound readTimeout], getDeviceInfo: [Function: bound getDeviceInfo], _paused: true, [Symbol(kCapture)]: false } ```
- Loading branch information