Skip to content

Fixed optional param in JSDoc and generated TS definition #99

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

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

mirao
Copy link
Contributor

@mirao mirao commented Oct 4, 2021

Motivation:
To have working Resemble methods in TypeScript tests + autocompletion by IntelliSense in VSCode.

If TS definition doesn't exist, you get this in your TS test:
image
If TS definition exists, everything works well:
image

I think it solves #77

I fixed:

@puneet0191
Copy link
Member

thanks a lot for your PR, I will prepare new version.

@puneet0191 puneet0191 changed the base branch from master to 1.9.5 October 28, 2021 05:35
@puneet0191 puneet0191 merged commit 7a04f9c into codeceptjs:1.9.5 Nov 2, 2021
puneet0191 added a commit that referenced this pull request Nov 6, 2021
* Fixed optional param in JSDoc and generated TS definition (#99)

* [TASK] fix relative paths for Mochawesome context screenshots (#97)

* [TASK] fix relative paths for Mochawesome context screenshots

* [TASK] improve relative path generation for cases where report is not in default folder

* [TASK] switch to Path.relative

* [TASK] add more pessimistic check for undefined options

* [TASK] resolveRelativePath should not be public

* [FEATURE] allow resemble.compare even if dimensions are not the same (#96)

* [FEATURE] allow resemble.compare even if dimensions are not the same \n\nsee #94

* fix default value overriding custom value "false"

* Update Version, Prepare for release.

Co-authored-by: Jaromir Obr <[email protected]>
Co-authored-by: jpmschuler <[email protected]>
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