getgauge/gauge-ts

Add support for typed ExectuionContext

Closed this issue · 1 comments

Describe the bug
Currently, the execution context lacks the type definition and is available as an any (JSON) type.

To Reproduce
Steps to reproduce the behavior:

  1. create a new gauge-ts project
  2. add a hook which uses the execution context
  3. the context has no type so there are no methods to get values, one has to use it as a common js object.

This issue has been addressed via 5a2d946
Please look at https://bugdiver.github.io/gauge-ts/#/?id=executioncontext for more info.
This will be available in the next release.