Fehlend Importe beim Speichern

Using the Command Palette (CMD + SHIFT + P), open the option Preferences: Open User Settings (JSON):

TypeScript
"editor.codeActionsOnSave": {
    "source.organizeImports": true,
    "source.addMissingImports": true
  },
TypeScript

Quelle