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