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 committed 2018-11-15 13:56:24 -08:00
1 parent 02d5cb045c
commit 2c7d67fded
3 files changed
+39 -6

No files matched your search

+5
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;