Files
rspade_system/node_modules/ts-jest/dist/config/paths-to-module-name-mapper.d.ts
2025-12-03 21:28:08 +00:00

10 lines
398 B
TypeScript
Executable File

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 {};