mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-23 00:22:56 +01:00
This commit is contained in:
parent
803466d050
commit
d437cf3054
2 changed files with 76 additions and 3 deletions
|
|
@ -115,7 +115,7 @@ export class LibFiles {
|
|||
return model;
|
||||
}
|
||||
if (this.isLibFile(uri) && this._hasFetchedLibFiles) {
|
||||
return editor.createModel(this._libFiles[uri.path.slice(1)], 'javascript', uri);
|
||||
return editor.createModel(this._libFiles[uri.path.slice(1)], 'typescript', uri);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue