iching-broker-level3/node_modules/ts-jest/dist/config/paths-to-module-name-mapper.d.ts

10 lines
398 B
TypeScript
Raw Permalink Normal View History

2025-03-31 12:27:20 +00:00
import type { Config } from '@jest/types';
import type { CompilerOptions } from 'typescript';
type TsPathMapping = Exclude<CompilerOptions['paths'], undefined>;
type JestPathMapping = Config.InitialOptions['moduleNameMapper'];
export declare const pathsToModuleNameMapper: (mapping: TsPathMapping, { prefix, useESM }?: {
prefix?: string;
useESM?: boolean;
}) => JestPathMapping;
export {};