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
I want to access the world within a transformer arrow-function when I defineParameterType.
But this fails with: Error: Attempted to access 'world' from incorrect scope; only applicable to steps and case-level hooks
🤔 What's the problem you're trying to solve?
I want to access the
world
within atransformer
arrow-function when IdefineParameterType
.But this fails with:
Error: Attempted to access 'world' from incorrect scope; only applicable to steps and case-level hooks
✨ What's your proposed solution?
This should be possible, because I can access the World through
this
in a normal function.⛏ Have you considered any alternatives or workarounds?
I can use a function instead of an arrow function and use
this
instead ofworld
.📚 Any additional context?
No response
The text was updated successfully, but these errors were encountered: