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.
1 parent 06fe824 commit 34ab146Copy full SHA for 34ab146
test/utils/tsc.ts
@@ -3,8 +3,7 @@ import util from "util";
3
const exec = util.promisify(require("child_process").exec);
4
5
export async function typecheck(pathToIndex: string) {
6
- const cmd = `tsc ${pathToIndex} --noEmit`;
7
- await exec(cmd, {
+ await exec(`tsc ${pathToIndex} --noEmit`, {
8
env: process.env,
9
});
10
}
0 commit comments