You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⨯ Unable to compile TypeScript:
src/step_definitions/parameterTypes.ts:3:1 - error TS2552: Cannot find name 'DefineParameterType'. Did you mean 'defineParameterType'?
Because in node_modules/codeceptjs/typings/index.d.ts there is declaration:
What are you trying to achieve?
I use TS + Playwright + Gherkin. When I try to add defineParameterType I just getting errors.
If I use like in the documentation:
The error is :
Because in
node_modules/codeceptjs/typings/index.d.ts
there is declaration:If I use like this:
The error is :
And if I change in
node_modules/codeceptjs/typings/index.d.ts
from:to:
and use it like in the documentation everything is working properly.
What do you get instead?
Correctly working
defineParameterType
function.Details
The text was updated successfully, but these errors were encountered: