The imported world
-Proxy should also work in the transformer
method for defineParameterType
#2447
Labels
world
-Proxy should also work in the transformer
method for defineParameterType
#2447
🤔 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: