stormy-gold•2y ago
Bug with typescript
I installed using templates (typescript example and playwright typescript example) on multiple operating systems (windows & ubuntu via vmware) and ran into the error "state.conditions.includes is not a function). I tested the basic js template and had no issue.
I went back to the ts project and updated to latest typescript(5.3.2) and tried again, same error. I then installed 5.1.6 and it worked.
1 Reply
flat-fuchsia•2y ago
Hey there! thanks for the report! There's an issue with the latest TS, it was reported by our team to TS directly. For now earlier TS version should work - pretty sure not only 5.1, but 5.2 should also work