CodeceptJS
CodeceptJS copied to clipboard
codeceptjs def does not generate types for plugin global function
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
}
}
}