create jsconfig.json in the root directory of your project. the file should contain the following: { "typeAcquisition": { "include": [ "jest" ] } } after saving reload vscode. Worked for me.