title: How to use addExtraLib in Monaco to add lodash library
body: <p>I want the Monaco editor to recognized lodash as a library. To fix this I'm using <a href="https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.typescript.languageservicedefaults.html#addextralib" rel="nofollow noreferrer">addExtraLib(content: string, filePath?: string)</a>. As lodash is my node module I can provide a file path but what to write in the content. I need the entire functions of lodash to be enabled in my monaco-editor.</p>
  <p>I'm able to add a small custom library using <a href="https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-javascript-defaults" rel="nofollow noreferrer">https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-javascript-defaults</a></p>
  <p>Need help to resolve this issue.
  <a href="https://i.stack.imgur.com/P4wFs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P4wFs.png" alt="enter image description here" /></a></p>