From 0dbccdea3d4e1df05c98f5a02eab8ac00e7bdc83 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Thu, 9 Jul 2020 07:28:29 -0400 Subject: [PATCH] Update src/workerManager.ts Co-authored-by: Wesley Wigham --- src/workerManager.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/workerManager.ts b/src/workerManager.ts index 36489729..6dffefa6 100644 --- a/src/workerManager.ts +++ b/src/workerManager.ts @@ -62,7 +62,8 @@ export class WorkerManager { private _getClient(): Promise { 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)) }