Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56d2923
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sindresorhus In your readme file,
undefined
is described as the means of removing a param from a URL. Since this is a breaking change that no longer supports this use case for typescript users, I would suggest removing references toundefined
from your docs.undefined
keys being skipped when stringifying params (https://github.com/sindresorhus/query-string#skipnull)undefined
to remove it from the stringified string (https://github.com/sindresorhus/query-string#falsy-values)56d2923
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is about the return value for parsing, not stringifying.
56d2923
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing https://github.com/sindresorhus/query-string/blob/master/index.d.ts, the
ParsedQuery
interface is being used in thestringifyUrl()
parameter types in addition to theparse()
return types.56d2923
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/sindresorhus/query-string/releases/tag/v6.13.3