Programming Search⌘K

TypeScript errors and diagnostics, page 4 of 8

The error codes and warnings of TypeScript, with the message that each one prints and what causes it. This page has 1,441 cards.

Cannot find name '…'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig. TS2593

Code
TS2593
Severity
error
Message
Cannot find name '{}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.

Source: github.com. JSON record. This entry is a card. Help write this page.