When doing a rm -rf node_modules && npm i inside a project, new error annotations will show because typescript from node_modules is temporarily not available. When this happens, LSP-typescript seems falls back to a different configuration where it ignores the tsconfig.json in the project.
After node_modules is present again, these error annotations do not go away and the only reliable way to remove them that I have found is to restart Sublime Text.
When doing a
rm -rf node_modules && npm i
inside a project, new error annotations will show becausetypescript
fromnode_modules
is temporarily not available. When this happens, LSP-typescript seems falls back to a different configuration where it ignores thetsconfig.json
in the project.After
node_modules
is present again, these error annotations do not go away and the only reliable way to remove them that I have found is to restart Sublime Text.