{"name":"@jest/types","version":"30.4.1","repository":{"type":"git","url":"https://github.com/jestjs/jest.git","directory":"packages/jest-types"},"engines":{"node":"^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"@jest/pattern":"30.4.0","@jest/schemas":"30.4.1","@types/istanbul-lib-coverage":"^2.0.6","@types/istanbul-reports":"^3.0.4","@types/node":"*","@types/yargs":"^17.0.33","chalk":"^4.1.2"},"publishConfig":{"access":"public"},"gitHead":"b3b4a09ed3005369dacc7466d1d2122797283785","_nodeVersion":"26.1.0","_npmVersion":"lerna/4.3.0/node@v26.1.0+arm64 (darwin)","_id":"@jest/types@30.4.1","dist":{"integrity":"sha512-f1x/vJXIfjOlEmejYpbkbgw1gOqpPECwMvMEtBqe47j7H2Hg8h8w3o3ikhSXq3MI15kg+oQ0exWO0uCtTNJLoQ==","shasum":"f79b647a85cb2ff4a90cc55984b31dae820db1f7","tarball":"http://registry-npm.ywwl.com/@jest/types/download/@jest/types-30.4.1.tgz","fileCount":5,"unpackedSize":32028,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHpQYPz4e19sH8/jsPNed70y7YGHcduE8YHS19jv/fXNAiB+Xj+wNLj1Py0O2W/wfZ+8jLeU3Nq+/Qi9q3sD2EETyA=="}],"size":8388,"noattachment":false,"key":"/@jest/types/-/@jest/types-30.4.1.tgz"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"rickhanlonii","email":"rickhanlonii@gmail.com"},{"name":"openjs-operations","email":"operations@openjsf.org"},{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/types_30.4.1_1778229286594_0.5955650015393581"},"_hasShrinkwrap":false,"readme":"# @jest/types\n\nThis package contains shared types of Jest's packages.\n\nIf you are looking for types of [Jest globals](https://jestjs.io/docs/api), you can import them from `@jest/globals` package:\n\n```ts\nimport {describe, expect, it} from '@jest/globals';\n\ndescribe('my tests', () => {\n  it('works', () => {\n    expect(1).toBe(1);\n  });\n});\n```\n\nIf you prefer to omit imports, a similar result can be achieved installing the [@types/jest](https://npmjs.com/package/@types/jest) package. Note that this is a third party library maintained at [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) and may not cover the latest Jest features.\n\nAnother use-case for `@types/jest` is a typed Jest config as those types are not provided by Jest out of the box:\n\n```ts\n// jest.config.ts\nimport type {Config} from '@jest/types';\n\nconst config: Config.InitialOptions = {\n  // some typed config\n};\n\nexport default config;\n```\n","publish_time":1778229286736,"_cnpm_publish_time":1778229286736,"dist-tags":{"latest":"30.5.1","next":"30.0.0-beta.8"}}