-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Некорректный тип функции it(
#847
Comments
Hello. In your
|
You are right. Only your workaround or similar triple-slash directive works. I'm working on this issue now and will let you know as soon as I figure out a solution. |
After discussion with the team, I believe the only viable solution for us would be to publish typings separately in the Up until that, I suggest using the workaround you mentioned. We'll get back to this issue as soon as we can. |
Last Hermione version that worked
7.x.x
Hermione version
8.1.0
Code to reproduce the issue
В новой версии ругается что
currentTest
не определена вMocha.TestFunction
, хотя ранее тут был типTestDefinition
от Hermione.Expected behavior
syntax correct
Actual behavior
TS2339: Property 'currentTest' does not exist on type 'Done'.
Additional information
Лечится вот так в проектном
global.d.ts
:Node.js version
20.10.0
Operating System
macOS
The text was updated successfully, but these errors were encountered: