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

use Record<string, string> for headers #3850

Closed
wants to merge 1 commit into from

Conversation

safareli
Copy link

I might be wrong but from what I can tell, headers can be typed as Record<string, string>. I understand that any is probably used for better UX but Record<string, string> has similar UX imo.

@askielboe
Copy link

I think this is actually already implemented upstream. It also seems to break typing for me when setting default headers, see #4108.

@safareli
Copy link
Author

safareli commented Oct 2, 2021

duplicate of #3021

@safareli safareli closed this Oct 2, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants