mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Revert the lib files coming through as monaco models
This commit is contained in:
parent
86f6d762df
commit
ca76528ce1
2 changed files with 2 additions and 8 deletions
|
|
@ -69,6 +69,8 @@ export class TypeScriptWorker implements ts.LanguageServiceHost, monaco.language
|
|||
if (model) {
|
||||
// a true editor model
|
||||
text = model.getValue();
|
||||
} else if (fileName in libFileMap) {
|
||||
text = libFileMap[fileName];
|
||||
|
||||
} else if (fileName in this._extraLibs) {
|
||||
// extra lib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue