kuceb / cypress-plugin-retries

A Cypress plugin to retry failed tests.
MIT License
237 stars 20 forks source link

fix(types): type checking declarations #40

Closed tozes closed 4 years ago

tozes commented 4 years ago

In version 1.5.0, main was changed to point to lib/support instead of src which broke type checking so in order to make it work with the current package configuration, we need to explicitly indicate the main types declaration file:

before:

...
"main": "lib/support",
...

after

...
  "main": "lib/support",
  "types": "lib/index.d.ts",
...
kuceb commented 4 years ago

@tozes thanks, should have had typedef tests

kuceb commented 4 years ago

:tada: This PR is included in version 1.5.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: