Skip to content

Commit d92e40f

Browse files
fix: typings parsing in master thread
1 parent 7a6e29f commit d92e40f

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/globals.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ function afterEachFunc(this: unknown, ...args: Parameters<GlobalAfterEachType>):
4848
return typedGlobals.afterEach.apply(this, args);
4949
}
5050

51-
const testplaneProxy = new Proxy(typedGlobals.testplane, {
52-
get(_, prop: keyof GlobalTestplaneType): GlobalTestplaneType[keyof GlobalTestplaneType] {
53-
return typedGlobals.testplane[prop];
51+
const testplaneProxy = new Proxy(
52+
{},
53+
{
54+
get(_, prop: keyof GlobalTestplaneType): GlobalTestplaneType[keyof GlobalTestplaneType] {
55+
return typedGlobals.testplane[prop];
56+
},
5457
},
55-
});
58+
);
5659

5760
export const it = itFunc as GlobalItType;
5861
export const describe = describeFunc as GlobalDescribeType;

0 commit comments

Comments
 (0)