diff --git a/src/language/typescript/tsWorker.ts b/src/language/typescript/tsWorker.ts index 25932a9e..65601f84 100644 --- a/src/language/typescript/tsWorker.ts +++ b/src/language/typescript/tsWorker.ts @@ -63,7 +63,7 @@ export class TypeScriptWorker implements ts.LanguageServiceHost, ITypeScriptWork getScriptFileNames(): string[] { const allModels = this._ctx.getMirrorModels().map((model) => model.uri); - const models = allModels.filter((uri) => !fileNameIsLib(uri)).map((uri) => uri.toString(true)); + const models = allModels.filter((uri) => !fileNameIsLib(uri)).map((uri) => uri.toString()); return models.concat(Object.keys(this._extraLibs)); }