Closed
Description
Description
This RFC proposes improving the TypeScript type declarations for @stdlib/utils/async/if-then
. Currently, considerable type information is lost when using this function.
Ideally, we'd improve declarations for x
, y
, and the done
callback.
Related Issues
No.
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:
.
Metadata
Metadata
Assignees
Labels
RFC feature request which has been accepted.Issue or pull request for enhancing existing functionality.Request for comments. Feature requests and proposed changes.Issue involves or relates to TypeScript.May require some initial design or R&D, but should be straightforward to resolve and/or implement.Normal priority concern or feature request.