You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@types/jest 25.1.0 was released and it is currently incompatible with ts-jest. It moves a lot of the type definitions to the repository itself. A repo I work on depends on @types/jest so after updating it there it caused type errors within ts-jest (https://circleci.com/gh/xeroxinteractive/browserslist-adobe-analytics/152).
Expected behavior :
No errors to be thrown when upgrading.
Debug log:
error log
$ tsc
node_modules/ts-jest/dist/config/create-jest-preset.d.ts:10:93 - error TS2694: Namespace 'jest' has no exported member 'InitialOptions'.
10 exportdeclarefunctioncreateJestPreset({ allowJs }?: CreateJestPresetOptions, from?: jest.InitialOptions): TsJestPresets;
The text was updated successfully, but these errors were encountered:
Issue :
@types/jest
25.1.0 was released and it is currently incompatible withts-jest
. It moves a lot of the type definitions to the repository itself. A repo I work on depends on@types/jest
so after updating it there it caused type errors withints-jest
(https://circleci.com/gh/xeroxinteractive/browserslist-adobe-analytics/152).Expected behavior :
No errors to be thrown when upgrading.
Debug log:
error log
The text was updated successfully, but these errors were encountered: