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
@jbjhjm , This is how I went about this to not show an error. (window as any).testState.pickle.tags . Not the cleanest, but for me, it not showing up with a red underline is good enough.
thanks @ludo550 , workarounds are possible of course, I was just irritated no typings for these are exported.
However we've moved on and are not using cucumber anymore, so this issue is not really relevant for me anymore.
I think I'll close this for now, and if someone comes along with the same problem it should be easy to find and write a PR for this.
Current behavior
Updated to 20.0.1 and got a type error on window.testState being unknown.
Desired behavior
window.testState should be known, it is typed within augmentations.d.ts.
Investigation
All types besides those from augmentations.d.ts will be found.
I checked the distributed package and it turns out that it does not contain augmentations.d.ts anymore.
It seems that the file is ignored/discarded when building the library.
Versions
Checklist
cypress-cucumber-preprocessor@4.3.1
(package name has changed and it is no longer the most recent version, see #689).The text was updated successfully, but these errors were encountered: