Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed May 2, 2023
1 parent 429c5ea commit 095c064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xkeys",
"version": "2.5.0-0",
"version": "2.5.0-1",
"description": "An npm module for interfacing with the X-keys panels in Node.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function setupXkeysPanel(devicePathOrHIDDevice?: HID.Device | HID.H

if (!deviceInfo) {
// @ts-expect-error getDeviceInfo missing in typings
const nodeHidInfo: HID.Device = await this.device.getDeviceInfo()
const nodeHidInfo: HID.Device = await device.getDeviceInfo()
// Look through HID.devices(), bevause HID.Device contains the productId
deviceInfo = {
product: nodeHidInfo.product,
Expand Down

0 comments on commit 095c064

Please sign in to comment.