Skip to content

fix: jest 25 type definitions#1363

Merged
kulshekhar merged 1 commit intokulshekhar:masterfrom
AndrewLeedham:AL-update-jest-types
Jan 29, 2020
Merged

fix: jest 25 type definitions#1363
kulshekhar merged 1 commit intokulshekhar:masterfrom
AndrewLeedham:AL-update-jest-types

Conversation

@AndrewLeedham
Copy link
Copy Markdown
Contributor

A lot of the Jest typings were moved into the core repo rather than the @types/jest definitions. See DefinitelyTyped/DefinitelyTyped@ef7406a

fixes: #1362

A lot of the Jest typings were moved into the core repo rather than the `@types/jest` definitions. See DefinitelyTyped/DefinitelyTyped@ef7406a
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 3914

  • 7 of 7 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 90.286%

Totals Coverage Status
Change from base Build 3913: 0.0%
Covered Lines: 1075
Relevant Lines: 1133

💛 - Coveralls

@ahnpnl
Copy link
Copy Markdown
Collaborator

ahnpnl commented Jan 28, 2020

thanks for your PR, LGTM 👍

@ahnpnl ahnpnl requested a review from kulshekhar January 28, 2020 10:41
Copy link
Copy Markdown
Owner

@kulshekhar kulshekhar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! I have just one question:

Comment thread package.json
@kulshekhar kulshekhar merged commit d290db0 into kulshekhar:master Jan 29, 2020
@kulshekhar
Copy link
Copy Markdown
Owner

@AndrewLeedham thanks!

@AndrewLeedham
Copy link
Copy Markdown
Contributor Author

@kulshekhar will this trigger an npm release?

@kulshekhar
Copy link
Copy Markdown
Owner

@AndrewLeedham no. I'll have to do that manually. I'll try to do it later today

@@ -1,12 +1,15 @@
import { TransformOptions, TransformedSource } from '@jest/transform/build/types'
Copy link
Copy Markdown
Contributor

@SimenB SimenB Mar 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please send PRs for any types you need that are not exported at the top level of the module. Reaching into build/ is not supported and can break at any time

Copy link
Copy Markdown
Collaborator

@ahnpnl ahnpnl Mar 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean FR and PRs ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull requests 🙂

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, we already export TransformOptions at least. TransformedSource is not exported though (ReturnType<Transformer['process']> is clunky), so PR for that is welcome

https://www.runpkg.com/?@jest/transform@25.2.4/build/index.d.ts

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.

Latest @types/jest incompatible

5 participants