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

Improve typing of Jest config object #1

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Improve typing of Jest config object #1

merged 1 commit into from
Sep 22, 2022

Conversation

mrazauskas
Copy link
Contributor

Since v29 configuration of ts-jest was moved to transform. Typings were reworked as well and now JestConfigWithTsJest must be used to have the correct types. See: https://kulshekhar.github.io/ts-jest/docs/getting-started/options

@connorjburton
Copy link
Owner

Interesting, thank you. Does that mean the yarn ts-jest config:init command on this page is also wrong? As that command (for me) produced /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */

@connorjburton connorjburton merged commit 57d70fa into connorjburton:main Sep 22, 2022
@mrazauskas mrazauskas deleted the patch-1 branch September 22, 2022 10:06
@mrazauskas
Copy link
Contributor Author

Yep. Seems like currently the command leads to a wrong result. Perhaps it makes sense opening an issue?

@connorjburton
Copy link
Owner

I raised a PR, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants