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
Describe the bug
When i pass my type in "allure.step" generic, it still returns "any" type. Because of that if my body is async function if i dont write await before "allure.step", this will be problem.
To Reproduce
Steps to reproduce the behavior:
Import allure from "allure-mocha/runtime"
Call allure.step few times and pass async functions
They will not be executed sequentaly and linter doesn't lint any errors about "forgot await"
Expected behavior
If i pass my type to "allure.step" generic, it should show in typelint this type, not any
Screenshots
Desktop (please complete the following information):
OS: MacOs 14.4.1
Typescript 5.4.5
The text was updated successfully, but these errors were encountered:
Describe the bug
When i pass my type in "allure.step" generic, it still returns "any" type. Because of that if my body is async function if i dont write await before "allure.step", this will be problem.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If i pass my type to "allure.step" generic, it should show in typelint this type, not any
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: