Add missing imports on save for JavaScript and TypeScript

Use the editor.codeActionsOnSave setting to add all missing imports to a TypeScript or JavaScript file whenever you save it.

To enable, just set:

"editor.codeActionsOnSave": [
  "source.addMissingImports"
]