From ea94a05feb963db390b875894d52dfedcde40d5f Mon Sep 17 00:00:00 2001 From: Zhengbo Li Date: Thu, 21 Jan 2016 10:43:07 -0800 Subject: [PATCH] Add support for jsconfig in shims --- src/services/shims.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/shims.ts b/src/services/shims.ts index 3dc28763b17..9ca3f19244d 100644 --- a/src/services/shims.ts +++ b/src/services/shims.ts @@ -946,7 +946,8 @@ namespace ts { }; } - const configFile = parseJsonConfigFileContent(result.config, this.host, getDirectoryPath(normalizeSlashes(fileName))); + const normalizedFileName = normalizeSlashes(fileName); + const configFile = parseJsonConfigFileContent(result.config, this.host, getDirectoryPath(normalizedFileName), /*existingOptions*/ {}, normalizedFileName); return { options: configFile.options,