Skip to content

Commit 3ff0916

Browse files
authored
fix(jest-runtime): VMModule is not a type (#13548)
1 parent 54ce105 commit 3ff0916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jest-runtime/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ export default class Runtime {
689689
async unstable_importModule(
690690
from: string,
691691
moduleName?: string,
692-
): Promise<VMModule | void> {
692+
): Promise<unknown | void> {
693693
invariant(
694694
runtimeSupportsVmModules,
695695
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules',

0 commit comments

Comments
 (0)