Update src/workerManager.ts

Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
pull/2748/head
Orta Therox 5 years ago committed by GitHub
parent 86f6d762df
commit 0dbccdea3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,8 @@ export class WorkerManager {
private _getClient(): Promise<TypeScriptWorker> {
if (!this._client) {
// Adds all of the .d.ts lib files into Monaco as editor models,
// this allows themm to show up in peek (and allow editing if desired).
// this allows them to show up in peek (and allow editing if desired).
for (const key in libFileMap) {
monaco.editor.createModel(libFileMap[key], "javascript", monaco.Uri.file(key))
}

Loading…
Cancel
Save