{"name":"@jest/types","version":"30.4.0","license":"MIT","_id":"@jest/types@30.4.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":"db7fe3a9da4ac1f96b9262958b0765e1a219aacc","tarball":"http://registry-npm.ywwl.com/@jest/types/download/@jest/types-30.4.0.tgz","fileCount":5,"integrity":"sha512-C951KSoEicxFUsUIO4T8lqWEemuMgMb3vlI8FO4OP369GSf6SOJd681nOcv7XR0TV5vCO4Jypvq3rBGEqfy9KQ==","signatures":[{"sig":"MEUCIAz9EjFwr2GWAUzOXjlY3qUUANFViqEZUDDz4Nj/Ni9vAiEA/i4ZkaXfZrJ9AKvMhGBM0tEvPxPnWeUNcARp0OIuvzM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31941,"size":8360,"noattachment":false,"key":"/@jest/types/-/@jest/types-30.4.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":"5cbb21e0b3037edb42e503ec1a1ce80efad40c20","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"repository":{"url":"https://github.com/jestjs/jest.git","type":"git","directory":"packages/jest-types"},"_npmVersion":"lerna/4.3.0/node@v26.0.0+arm64 (darwin)","directories":{},"_nodeVersion":"26.0.0","dependencies":{"chalk":"^4.1.2","@types/node":"*","@types/yargs":"^17.0.33","@jest/pattern":"30.4.0","@jest/schemas":"30.4.0","@types/istanbul-reports":"^3.0.4","@types/istanbul-lib-coverage":"^2.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/types_30.4.0_1778179306992_0.4194448190434148","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":1778179307150,"_cnpm_publish_time":1778179307150,"dist-tags":{"latest":"30.5.1","next":"30.0.0-beta.8"}}