Skip to content

declutter promise typing for query() and execute()#1371

Open
mxw wants to merge 1 commit intosidorares:masterfrom
mxw:patch-1
Open

declutter promise typing for query() and execute()#1371
mxw wants to merge 1 commit intosidorares:masterfrom
mxw:patch-1

Conversation

@mxw
Copy link
Copy Markdown

@mxw mxw commented Aug 6, 2021

the overloading makes the function types harder to work with and adds no type refinement value. prefer a single, more concise interface.

this commit leaves the any | any[] | { [param: string]: any } typing for documentation benefits, even though it's identical to just any.

the overloading makes the function types harder to work with and adds no type refinement value.  prefer a single, more concise interface.

this commit leaves the `any | any[] | { [param: string]: any }` typing for documentation benefits, even though it's identical to just `any`.
@wellwelwel wellwelwel added typescript needs discussion needs rebase For internal organization purpose labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs discussion needs rebase For internal organization purpose typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants