Skip to content

Conversation

@a-tarasyuk
Copy link
Contributor

Fixes #37703

@sirreal
Copy link

sirreal commented Apr 27, 2020

I came across #37703 recently: WordPress/gutenberg#21926

I applied the patch here to the compiler in my local project and it reported the error, apparently fixing #37703 👍

packages/url/src/add-query-args.js:22:41 - error TS1016: A required parameter cannot follow an optional parameter.

22 export function addQueryArgs( url = '', args ) {

@sandersn sandersn added the For Backlog Bug PRs that fix a backlog bug label May 5, 2020
@sandersn sandersn self-requested a review May 5, 2020 17:13
@weswigham weswigham merged commit c219fda into microsoft:master May 5, 2020
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Bad JSDoc comments leads to generate invalid declaration file

4 participants