@jest/types
This package contains shared types of Jest's packages.
Last updated a year ago by simenb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install @jest/types 
SYNC missed versions from official npm registry.

@jest/types

This package contains shared types of Jest's packages.

If you are looking for types of Jest globals, you can import them from @jest/globals package:

import {describe, expect, it} from '@jest/globals';

describe('my tests', () => {
  it('works', () => {
    expect(1).toBe(1);
  });
});

If you prefer to omit imports, a similar result can be achieved installing the @types/jest package. Note that this is a third party library maintained at DefinitelyTyped and may not cover the latest Jest features.

Another use-case for @types/jest is a typed Jest config as those types are not provided by Jest out of the box:

// jest.config.ts
import {Config} from '@jest/types';

const config: Config.InitialOptions = {
  // some typed config
};

export default config;

Current Tags

  • 29.6.3                                ...           latest (a year ago)
  • 30.0.0-alpha.2                                ...           next (a year ago)

93 Versions

  • 30.0.0-alpha.2                                ...           a year ago
  • 30.0.0-alpha.1                                ...           a year ago
  • 29.6.3                                ...           a year ago
  • 29.6.1                                ...           a year ago
  • 29.6.0                                ...           a year ago
  • 29.5.0                                ...           2 years ago
  • 29.4.3                                ...           2 years ago
  • 29.4.2                                ...           2 years ago
  • 29.4.1                                ...           2 years ago
  • 29.4.0                                ...           2 years ago
  • 29.3.1                                ...           2 years ago
  • 29.2.1                                ...           2 years ago
  • 29.2.0                                ...           2 years ago
  • 29.1.2                                ...           2 years ago
  • 29.1.0                                ...           2 years ago
  • 29.0.3                                ...           2 years ago
  • 29.0.2                                ...           2 years ago
  • 29.0.1                                ...           2 years ago
  • 29.0.0                                ...           2 years ago
  • 29.0.0-alpha.6                                ...           2 years ago
  • 29.0.0-alpha.4                                ...           2 years ago
  • 29.0.0-alpha.3                                ...           2 years ago
  • 29.0.0-alpha.2                                ...           2 years ago
  • 29.0.0-alpha.0                                ...           2 years ago
  • 28.1.3                                ...           2 years ago
  • 28.1.1                                ...           3 years ago
  • 28.1.0                                ...           3 years ago
  • 28.0.2                                ...           3 years ago
  • 28.0.1                                ...           3 years ago
  • 28.0.0                                ...           3 years ago
  • 28.0.0-alpha.9                                ...           3 years ago
  • 28.0.0-alpha.8                                ...           3 years ago
  • 28.0.0-alpha.7                                ...           3 years ago
  • 28.0.0-alpha.6                                ...           3 years ago
  • 28.0.0-alpha.5                                ...           3 years ago
  • 28.0.0-alpha.4                                ...           3 years ago
  • 28.0.0-alpha.3                                ...           3 years ago
  • 28.0.0-alpha.2                                ...           3 years ago
  • 28.0.0-alpha.1                                ...           3 years ago
  • 28.0.0-alpha.0                                ...           3 years ago
  • 27.5.1                                ...           3 years ago
  • 27.5.0                                ...           3 years ago
  • 27.4.2                                ...           3 years ago
  • 27.4.1                                ...           3 years ago
  • 27.4.0                                ...           3 years ago
  • 27.2.5                                ...           3 years ago
  • 27.2.4                                ...           3 years ago
  • 27.2.3                                ...           3 years ago
  • 27.1.1                                ...           3 years ago
  • 27.1.0                                ...           3 years ago
  • 27.0.6                                ...           3 years ago
  • 27.0.2                                ...           4 years ago
  • 27.0.1                                ...           4 years ago
  • 27.0.0-next.10                                ...           4 years ago
  • 27.0.0-next.8                                ...           4 years ago
  • 27.0.0-next.7                                ...           4 years ago
  • 27.0.0-next.3                                ...           4 years ago
  • 27.0.0-next.1                                ...           4 years ago
  • 27.0.0-next.0                                ...           4 years ago
  • 26.6.2                                ...           4 years ago
  • 26.6.1                                ...           4 years ago
  • 26.6.0                                ...           4 years ago
  • 26.5.2                                ...           4 years ago
  • 26.5.0                                ...           4 years ago
  • 26.3.0                                ...           4 years ago
  • 26.2.0                                ...           4 years ago
  • 26.1.0                                ...           4 years ago
  • 26.0.1                                ...           5 years ago
  • 26.0.1-alpha.0                                ...           5 years ago
  • 26.0.0                                ...           5 years ago
  • 26.0.0-alpha.2                                ...           5 years ago
  • 26.0.0-alpha.1                                ...           5 years ago
  • 26.0.0-alpha.0                                ...           5 years ago
  • 25.5.0                                ...           5 years ago
  • 25.4.0                                ...           5 years ago
  • 25.3.0                                ...           5 years ago
  • 25.2.6                                ...           5 years ago
  • 25.2.5 [deprecated]           ...           5 years ago
  • 25.2.3                                ...           5 years ago
  • 25.2.1                                ...           5 years ago
  • 25.2.1-alpha.2                                ...           5 years ago
  • 25.2.1-alpha.1                                ...           5 years ago
  • 25.2.0                                ...           5 years ago
  • 25.2.0-alpha.86                                ...           5 years ago
  • 25.1.0                                ...           5 years ago
  • 25.0.0                                ...           5 years ago
  • 24.9.0                                ...           5 years ago
  • 24.8.0                                ...           6 years ago
  • 24.7.0                                ...           6 years ago
  • 24.6.0                                ...           6 years ago
  • 24.5.0                                ...           6 years ago
  • 24.3.0                                ...           6 years ago
  • 24.2.0-alpha.0                                ...           6 years ago

Copyright 2013 - present © cnpmjs.org | Home |