Respond to code review comments

This commit is contained in:
Mohamed Hegazy committed 2014-12-10 13:02:31 -08:00
1 parent 956a08943b
commit 46fcf91981
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -167,6 +167,7 @@ module FourSlash {
settings.module = ts.ModuleKind.CommonJS;
break;
default:
ts.Debug.assert(typeof globalOptions[prop] === "undefined" || globalOptions[prop] === "None");
settings.module = ts.ModuleKind.None;
break;
}
+1 -1
View File
@@ -222,7 +222,7 @@ module ts {
throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");
return null;
}
return <CompilerOptions>JSON.parse(<any>settingsJson);
return <CompilerOptions>JSON.parse(settingsJson);
}
public getScriptFileNames(): string[] {