- fix for LanguageServiceHost ignoring virtual modules #78

This commit is contained in:
Eugene Zolenko 2018-06-22 11:47:28 -06:00
parent aab0cc7694
commit ffe3b6cd9f
5 changed files with 5 additions and 5 deletions

View File

@ -17292,7 +17292,7 @@ var LanguageServiceHost = /** @class */ (function () {
return (this.versions[fileName] || 0).toString();
};
LanguageServiceHost.prototype.getScriptFileNames = function () {
return this.parsedConfig.fileNames;
return Object.keys(this.snapshots);
};
LanguageServiceHost.prototype.getCompilationSettings = function () {
return this.parsedConfig.options;

File diff suppressed because one or more lines are too long

View File

@ -17288,7 +17288,7 @@ var LanguageServiceHost = /** @class */ (function () {
return (this.versions[fileName] || 0).toString();
};
LanguageServiceHost.prototype.getScriptFileNames = function () {
return this.parsedConfig.fileNames;
return Object.keys(this.snapshots);
};
LanguageServiceHost.prototype.getCompilationSettings = function () {
return this.parsedConfig.options;

File diff suppressed because one or more lines are too long

View File

@ -68,7 +68,7 @@ export class LanguageServiceHost implements tsTypes.LanguageServiceHost
public getScriptFileNames()
{
return this.parsedConfig.fileNames;
return Object.keys(this.snapshots);
}
public getCompilationSettings(): tsTypes.CompilerOptions