Skip to content

Conversation

aloisklink
Copy link
Contributor

Some parameters were undocumented in the JSDoc, despite existing in the function definition.

As we had labelled some of the earlier params as optional, this was causing the following error when trying to use the typescript files:

TypeScript error TS1016: A required parameter cannot follow an optional parameter

I don't think this will cause any merge issues with #31, but I could always be wrong.

Some parameters were undocumented in the JSDoc,
despite existing in the function definition.

As we had labelled some of the earlier params as optional,
this was causing the following error when trying to use
the typescript files:

TypeScript error TS1016:
A required parameter cannot follow an optional parameter
@aloisklink aloisklink requested a review from iendjinn September 14, 2021 16:44
Copy link
Contributor

@iendjinn iendjinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aloisklink

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