Skip to content

Commit 683ab84

Browse files
committed
Run test compile with --esModuleInterop
1 parent 5f5122e commit 683ab84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import util from "util";
33
const exec = util.promisify(require("child_process").exec);
44

55
export async function typecheck(pathToIndex: string) {
6-
await exec(`tsc ${pathToIndex} --noEmit`, {
6+
await exec(`tsc ${pathToIndex} --noEmit --esModuleInterop`, {
77
env: process.env,
88
});
99
}

0 commit comments

Comments
 (0)