forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 Merge PR DefinitelyTyped#47007 [usb] minor fixes by @mildsunrise
* [usb] fix invalid return types * [usb] fix callback types * [usb] update tests * [usb] add definition for clearHalt * [usb] use consistent terms * [usb] getStringDescriptor returns string * [usb] fix type of data_or_length * [usb] add __getConfigDescriptor * [usb] expose Transfer API * [usb] expose three more interface internals * Update types/usb/index.d.ts Co-authored-by: Rob Moran <[email protected]> * Update index.d.ts * make callback error parameter non-optional * more consistency fixes Co-authored-by: Rob Moran <[email protected]>
- Loading branch information
1 parent
3bf9694
commit 9a5105e
Showing
2 changed files
with
89 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters