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 efcdda2 commit 67f66d6Copy full SHA for 67f66d6
src/doctor.ts
@@ -20,8 +20,9 @@ export class Doctor {
20
21
static fromConfigFile(configPath: string, ts: typeof _ts): Doctor {
22
const content = fs.readFileSync(configPath).toString();
23
+ const { config } = ts.parseConfigFileTextToJson(configPath, content)
24
const parsed = ts.parseJsonConfigFileContent(
- JSON.parse(content),
25
+ config,
26
ts.sys,
27
path.dirname(configPath)
28
);
0 commit comments