File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,7 @@ type FixturesFromMap<T extends PageObjectConstructorsMap> = {
3333 */
3434export function createFixtures < T extends PageObjectConstructorsMap > (
3535 pageObjects : T ,
36- ) : Fixtures <
37- FixturesFromMap < T > ,
38- Record < string , never > ,
39- Record < string , never > ,
40- Record < string , never >
41- > {
36+ ) : Fixtures < FixturesFromMap < T > , { } , { } , { } > {
4237 const fixtures : Record <
4338 string ,
4439 ( args : { page : Page } , use : ( r : unknown ) => Promise < void > ) => Promise < void >
@@ -56,10 +51,5 @@ export function createFixtures<T extends PageObjectConstructorsMap>(
5651 } ;
5752 }
5853
59- return fixtures as Fixtures <
60- FixturesFromMap < T > ,
61- Record < string , never > ,
62- Record < string , never > ,
63- Record < string , never >
64- > ;
54+ return fixtures as Fixtures < FixturesFromMap < T > , { } , { } , { } > ;
6555}
You can’t perform that action at this time.
0 commit comments