codeceptjs / codeceptjs-resemblehelper

MIT License
27 stars 53 forks source link

Fixed optional param in JSDoc and generated TS definition #99

Closed mirao closed 3 years ago

mirao commented 3 years ago

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 commented 3 years ago

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