[in progress] project system work

This commit is contained in:
Vladimir Matveev
2016-06-21 17:31:54 -07:00
parent 9763dc825e
commit c9b82eddda
9 changed files with 1141 additions and 1054 deletions

View File

@@ -297,7 +297,7 @@ namespace ts.server {
return this.currentVersion;
}
reloadFromFile(filename: string, cb?: () => any) {
reloadFromFile(filename: string, cb?: () => void) {
let content = this.host.readFile(filename);
// If the file doesn't exist or cannot be read, we should
// wipe out its cached content on the server to avoid side effects.