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)) }