Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

response is any #144

Open
DiFuks opened this issue Oct 11, 2024 · 1 comment
Open

response is any #144

DiFuks opened this issue Oct 11, 2024 · 1 comment

Comments

@DiFuks
Copy link
Contributor

DiFuks commented Oct 11, 2024

I don't understand why this PR was merged. Essentially, any type becomes any when using | any. And the response type becomes any. Perhaps it should be

  response?: ((this: RespThisType, opt: {
        url: Recordable;
        body: Recordable;
        query: Recordable;
        headers: Recordable;
    }) => any) | Recordable;
@DiFuks
Copy link
Contributor Author

DiFuks commented Oct 11, 2024

@FrontEndDog Perhaps you could clarify why this decision was made

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant