Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jul 11, 2024
1 parent abf99f9 commit e23aa8b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/node/src/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export class NodeHIDDevice extends EventEmitter implements HIDDevice {
}

public async getDeviceInfo(): Promise<HIDDeviceInfo> {
// @ts-expect-error getDeviceInfo missing in typings
const info: NodeHIDDeviceInfo = await this.device.getDeviceInfo()

return {
Expand Down Expand Up @@ -104,7 +103,6 @@ export class NodeHIDSyncDevice extends EventEmitter implements HIDDevice {
}

public async getDeviceInfo(): Promise<HIDDeviceInfo> {
// @ts-expect-error getDeviceInfo missing in typings
const info: NodeHIDDeviceInfo = this.device.getDeviceInfo()

return {
Expand Down

0 comments on commit e23aa8b

Please sign in to comment.