Skip to content

docs: update docs for getting started with TypeScript #824

@CoreyKovalik

Description

@CoreyKovalik

Is your feature request related to a problem? Please describe.

see: https://github.com/jest-community/jest-extended/blob/main/website/docs/getting-started/typescript.md

I had luck with a simpler solution than referencing global.d.ts from node_modules as is currently suggested in the docs linked above. Would be nice to make an updated note in the docs that the below may work as well as a solution to the matchers not being picked up by the TS compiler.

Describe the solution you'd like

{
  "compilerOptions": {
     // ...
    "types": ["jest", "jest-extended"],
     // ...
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions