Removed unused declarations in 'harnessLanguageService.ts'.

This commit is contained in:
Daniel Rosenwasser
2015-12-17 15:01:48 -08:00
parent 9e801c21ae
commit 3dee60f6ef

View File

@@ -315,13 +315,6 @@ namespace Harness.LanguageService {
class LanguageServiceShimProxy implements ts.LanguageService {
constructor(private shim: ts.LanguageServiceShim) {
}
private unwrappJSONCallResult(result: string): any {
const parsedResult = JSON.parse(result);
if (parsedResult.error) {
throw new Error("Language Service Shim Error: " + JSON.stringify(parsedResult.error));
}
return parsedResult.result;
}
cleanupSemanticCache(): void {
this.shim.cleanupSemanticCache();
}