Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Question: @jest/types vs community @types/jest packagesΒ #9972

@eldarshamukhamedov

Description

@eldarshamukhamedov

Couldn't find anything in the README about the intended use for @jest/types. I can see that some of the packages directly reference it, but the package behaves differently to the community @types/jest package. It doesn't appear to add any global type declarations. This leaves me with two questions:

  1. Is @jest/types meant to be a drop-in replacement for @types/jest, or is it only used internally in the Jest monorepo?
  2. If @jest/types is meant to replace @types/jest, are there any usage examples (outside of the Jest monorepo, ideally) that you can point me to?

Thanks in advance! πŸ™‚

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions