{"name":"@jest/types","version":"30.2.0","license":"MIT","_id":"@jest/types@30.2.0","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"}],"dist":{"shasum":"1c678a7924b8f59eafd4c77d56b6d0ba976d62b8","tarball":"http://registry-npm.ywwl.com/@jest/types/download/@jest/types-30.2.0.tgz","fileCount":7,"integrity":"sha512-H9xg1/sfVvyfU7o3zMfBEjQ1gcsdeTMgqHoYdN79tuLqfTtuu7WckRA1R5whDwOzxaZAeMKTYWqP+WCAi0CHsg==","signatures":[{"sig":"MEUCIGvVTljiBkyHQpyXsSQeEOxOJZ43pIgw8hH9pgUVbCXKAiEA/swXc1kTkb+GOghpRzF7M6/oJ4ScLSFk5m1EQziIVk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57273,"size":11308,"noattachment":false,"key":"/@jest/types/-/@jest/types-30.2.0.tgz"},"main":"./build/index.js","types":"./build/index.d.ts","engines":{"node":"^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"},"exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"gitHead":"855864e3f9751366455246790be2bf912d4d0dac","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"repository":{"url":"https://github.com/jestjs/jest.git","type":"git","directory":"packages/jest-types"},"_npmVersion":"lerna/4.3.0/node@v24.9.0+arm64 (darwin)","directories":{},"_nodeVersion":"24.9.0","dependencies":{"chalk":"^4.1.2","@types/node":"*","@types/yargs":"^17.0.33","@jest/pattern":"30.0.1","@jest/schemas":"30.0.5","@types/istanbul-reports":"^3.0.4","@types/istanbul-lib-coverage":"^2.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/types_30.2.0_1759044758103_0.8231064625757045","host":"s3://npm-registry-packages-npm-production"},"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":1759044758314,"_cnpm_publish_time":1759044758314,"dist-tags":{"latest":"30.5.1","next":"30.0.0-beta.8"}}