Skip to content

Commit

Permalink
Update @types/usb
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-korsa committed Dec 5, 2021
1 parent dbd3fcc commit cdcc69c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/usb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@tsconfig/node10": "^1.0.8",
"@types/node": "^10.0.0",
"typescript": "^4.5.2",
"@types/usb": "^1.5.3"
"@types/usb": "^1.5.4",
"typescript": "^4.5.2"
}
}
1 change: 0 additions & 1 deletion packages/usb/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export default class USB extends Adapter<[]> {
if (this.device) {
try {
this.device.close();
// TODO: Update definitions when ready: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/57557
usb.removeAllListeners('detach');

callback && callback(null);
Expand Down

0 comments on commit cdcc69c

Please sign in to comment.