Skip to content

Commit ea94a05

Browse files
Zhengbo LiZhengbo Li
Zhengbo Li
authored and
Zhengbo Li
committed
Add support for jsconfig in shims
1 parent d64b603 commit ea94a05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/shims.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,8 @@ namespace ts {
946946
};
947947
}
948948

949-
const configFile = parseJsonConfigFileContent(result.config, this.host, getDirectoryPath(normalizeSlashes(fileName)));
949+
const normalizedFileName = normalizeSlashes(fileName);
950+
const configFile = parseJsonConfigFileContent(result.config, this.host, getDirectoryPath(normalizedFileName), /*existingOptions*/ {}, normalizedFileName);
950951

951952
return {
952953
options: configFile.options,

0 commit comments

Comments
 (0)