ts-jest
Version:
A preprocessor with source maps support to help use TypeScript with Jest
7 lines (6 loc) • 349 B
TypeScript
import { Config } from '@jest/types';
export declare type TsJestPresets = Pick<Config.InitialOptions, 'moduleFileExtensions' | 'transform' | 'testMatch'>;
export interface CreateJestPresetOptions {
allowJs?: boolean;
}
export declare function createJestPreset({ allowJs }?: CreateJestPresetOptions, from?: Config.InitialOptions): TsJestPresets;