Restart the TypeScript language service
In VS Code, and in a TypeScript source file (this won’t work in a css or json file),
- Open the Command Palette (view menu → command palette)
- Enter
TypeScript: Restart TS server.
(type “restart” and it should autosuggest)