Closed jrolfs closed 4 years ago
oof sorry @jrolfs I forgot to merge this the other day and just merged a conflicting PR 😬 I think it might have fixed the same underlying issue though, if you just want to revert the typedef changes and ensure the tests still work?
Haha, sigh, yeah I got one-upped in the TypeScript department here 😛. I just cherry-picked this into the Playwright fork... I think these tests are still worth merging?
I think these tests are still worth merging?
Most def 👍 thanks! 🎉
Finally a PR from me that's intentional 😅
This fixes the type definitions for the
options
parameter for the queries when using theextend
entry point.Some of the queries accept a
selector
option and some don't so I just made sure that the derivedIScopedQueryMethods
pulls theoptions
type from the respective definition inIQueryMethods
.