Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
moltar opened this issue May 21, 2020 · 1 comment · Fixed by #1667
Closed

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

moltar opened this issue May 21, 2020 · 1 comment · Fixed by #1667
Labels
🐛 Bug Confirmed Bug is confirmed

Comments

@moltar
Copy link

moltar commented May 21, 2020

🐛 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"
@moltar moltar added Bug Report Needs Repo Need a minimium repository to reproduce the problem Needs Triage labels May 21, 2020
@ahnpnl
Copy link
Collaborator

ahnpnl commented May 21, 2020

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

FYI This bug is caused by #1592

@ahnpnl ahnpnl added 🐛 Bug Confirmed Bug is confirmed and removed Bug Report Needs Repo Need a minimium repository to reproduce the problem Needs Triage labels May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Confirmed Bug is confirmed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants