Remove the unused text buffer from ScriptInfo

This commit is contained in:
Sheetal Nandi
2016-07-06 11:44:51 -07:00
parent d56a50bedb
commit 635826ff13
2 changed files with 11 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ namespace ts.server {
path: Path;
scriptKind: ScriptKind;
constructor(private host: ServerHost, public fileName: string, public content: string, public isOpen = false) {
constructor(private host: ServerHost, public fileName: string, content: string, public isOpen = false) {
this.path = toPath(fileName, host.getCurrentDirectory(), createGetCanonicalFileName(host.useCaseSensitiveFileNames));
this.svc = ScriptVersionCache.fromString(host, content);
}