We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--esModuleInterop
1 parent 5f5122e commit 683ab84Copy full SHA for 683ab84
test/utils/tsc.ts
@@ -3,7 +3,7 @@ import util from "util";
3
const exec = util.promisify(require("child_process").exec);
4
5
export async function typecheck(pathToIndex: string) {
6
- await exec(`tsc ${pathToIndex} --noEmit`, {
+ await exec(`tsc ${pathToIndex} --noEmit --esModuleInterop`, {
7
env: process.env,
8
});
9
}
0 commit comments