-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ignore max-lines where appropriate. * Change callback error signature to null instead of undefined. * Remove unnecessary helper. * Split error callback and success callback for better type narrowing. * Be more strict about resolving/rejecting values. * Change `promiseCallback` to only accept a callback, not `arguments`. * Hide annoying warnings that pop up in IDE. * Handle different function signatures for callback argument. * Use more normal callback definition. * Modern syntax! * Revert "Remove unnecessary helper." Turns out it's necessary. This reverts commit f2df0bb.
- Loading branch information
Showing
10 changed files
with
204 additions
and
188 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
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
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
Oops, something went wrong.