Skip to content

Commit 473408b

Browse files
dummdidummSimon Holthausen
authored andcommitted
fix: return default settings when no tsconfig found (#407)
Co-authored-by: Simon Holthausen <[email protected]>
1 parent 67f96ad commit 473408b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/transformers/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ export function loadTsconfig(
353353
ts.findConfigFile(fileDirectory, ts.sys.fileExists);
354354

355355
if (!tsconfigFile) {
356-
return { errors: [], options: {} };
356+
return { errors: [], options: compilerOptionsJSON };
357357
}
358358

359359
tsconfigFile = isAbsolute(tsconfigFile)

0 commit comments

Comments
 (0)