ts-jest/dist/types.d.ts:15:38 - error TS2304: Cannot find name 'BabelConfig'.

Created on 21 May 2020  路  1Comment  路  Source: kulshekhar/ts-jest

馃悰 Bug Report

I'm using ts-jest in a project programmatically (not CLI) and trying to compile the project.

Getting the following:

node_modules/ts-jest/dist/types.d.ts:15:38 - error TS2304: Cannot find name 'BabelConfig'.

15     babelConfig?: boolean | string | BabelConfig;
                                        ~~~~~~~~~~~

node_modules/ts-jest/dist/types.d.ts:40:12 - error TS2304: Cannot find name 'BabelConfig'.

40     value: BabelConfig;
              ~~~~~~~~~~~

To Reproduce

https://github.com/moltar/ts-jest-babel-config

Expected behavior

Compilation to succeed.

Link to repo (highly encouraged)

https://github.com/moltar/ts-jest-babel-config

envinfo

System:
    OS: macOS

Npm packages:
    "jest": "26.0.1",
    "ts-jest": "26.0.0",
    "typescript": "3.9.3"
Bug Confirmed

Most helpful comment

thank you for reporting us. I really like that all the information is provided following the template 馃憤

FYI This bug is caused by #1592

>All comments

thank you for reporting us. I really like that all the information is provided following the template 馃憤

FYI This bug is caused by #1592

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GeeWee picture GeeWee  路  4Comments

stangerjm picture stangerjm  路  4Comments

AlexGellert picture AlexGellert  路  4Comments

artola picture artola  路  3Comments

bySabi picture bySabi  路  4Comments