jsconfig.json gives ts errors September 1, 2023 by Tarik After trying several solutions, I have just added "exclude": ["node_modules"] and restarted VScode. The error went away.