CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

codeceptjs def does not generate types for plugin global function

Open rockwalrus opened this issue 3 years ago • 0 comments

What are you trying to achieve?

I'd like

npx codeceptjs def

when a plugin that registers a global function such as tryTo to generate a steps.d.ts with an appropriate definition for tryTo.

What do you get instead?

The generated steps.d.ts does not contain or reference a definition for the registered function.

Details

  • CodeceptJS version: 3.2.3
  • NodeJS Version: 16.13.0
  • Operating System: Windows 10
  • puppeteer || webdriverio || testcafe version (if related)
  • Configuration file:
{
  plugins: {
    retryTo: {
     enabled: true
    }
  }
}

rockwalrus avatar Feb 14 '22 22:02 rockwalrus