Expose aggregate file sizes in FileStats

We're not sure that file counts are a good proxy for project size and
this will give us more direct insight.
This commit is contained in:
Andrew Casey
2018-11-15 10:54:48 -08:00
parent 02d5cb045c
commit 2c7d67fded
3 changed files with 39 additions and 6 deletions

View File

@@ -316,6 +316,11 @@ namespace ts.server {
return this.textStorage.version;
}
/*@internal*/
getTelemetryFileSize() {
return this.textStorage.getTelemetryFileSize();
}
/*@internal*/
public isDynamicOrHasMixedContent() {
return this.hasMixedContent || this.isDynamic;