It seems like there might be a compatibility issue between your TypeScript version and some of your @types packages. Let me guide you through the solution step by step:
- Open your package.json file and check the versions of TypeScript and your @types packages:
"devDependencies": {
// ...
"@types/deep-freeze": "0.1.1",
"@types/jasmine": "3.5.10",
"@types/lodash.isequal": "4.5.5",
"@types/lodash.mergewith": "4.6.6",
"@types/lodash.remove": "4.7.6",
"@types/lodash.some": "4.6.6",
// ...
"typescript": "2.9.2",
// ...
}
For each of your @types packages, run the command
npm dist-tags @types/<your-types-package-name>
to see which TypeScript version is compatible with each package version.
Update the versions of your @types packages in the package.json file accordingly.
If this solution doesn't work, consider updating TypeScript to a newer version!