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

fix: parseQuery should return a string types #139

Closed

Conversation

zhiyuanzmj
Copy link
Contributor

const value = decodeQueryValue(s[2] || "");

Based on the code, parseQuery function will always return a Record<string, string | string[]> type

@pi0 pi0 changed the title feat: parseQuery should return a string type fix: parseQuery should return a string types Jul 28, 2023
pi0 added a commit that referenced this pull request Jul 28, 2023
Co-Authored-By: gaokefei <260480378@qq.com>
@pi0
Copy link
Member

pi0 commented Jul 28, 2023

Hi dear @zhiyuanzmj and sorry for checking on this late. I had been trying to push some improvements on your PR but since branch was outdated i couldn't. It is merged via afaa7a8 now.

@pi0 pi0 closed this Jul 28, 2023
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.

2 participants