Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 077ca84

Browse files
committed
Slightly improve type
1 parent f93ca58 commit 077ca84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/test/src/Test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let Mocha: any; // Late init with "mocha" or "mocha-parallel-tests"
2424
chai.use(require("./assertions").default);
2525

2626
type CreateInTestDebugFunction = (options: {
27-
mochaRunner: any;
27+
mochaRunner: Promise<unknown>;
2828
config: Config;
2929
compilations: Compilation[];
3030
}) => (operation: any) => any;
@@ -96,7 +96,7 @@ export const Test = {
9696
// do this upfront so that the promise is available
9797
// immediately, even though mocha.run happens at the very
9898
// end of this setup.
99-
let setMochaRunner: (mochaRunner: any) => void;
99+
let setMochaRunner: (mochaRunner: unknown) => void;
100100
this.mochaRunner = new Promise(resolve => {
101101
setMochaRunner = resolve;
102102
});

0 commit comments

Comments
 (0)