@@ -5,7 +5,7 @@ import type { Logger } from 'bs-logger'
55
66import { TsCompiler } from '../legacy/compiler'
77import { ConfigSet } from '../legacy/config/config-set'
8- import type { StringMap , TsJestGlobalOptions } from '../types'
8+ import type { StringMap , TsJestTransformerOptions } from '../types'
99import type { ImportReasons } from '../utils/messages'
1010
1111export function filePath ( relPath : string ) : string {
@@ -19,7 +19,7 @@ const defaultTestMatch = ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[
1919
2020function getJestConfig < T extends Config . ProjectConfig > (
2121 options ?: Partial < Config . InitialOptions | Config . ProjectConfig > ,
22- tsJestOptions ?: TsJestGlobalOptions ,
22+ tsJestOptions ?: TsJestTransformerOptions ,
2323) : T {
2424 const res = {
2525 globals : { } ,
@@ -47,7 +47,7 @@ export function createConfigSet({
4747 ...others
4848} : {
4949 jestConfig ?: Partial < Config . ProjectConfig >
50- tsJestConfig ?: TsJestGlobalOptions
50+ tsJestConfig ?: TsJestTransformerOptions
5151 logger ?: Logger
5252 resolve ?: ( ( path : string ) => string ) | null
5353 // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -81,8 +81,8 @@ export function makeCompiler(
8181 parentConfig,
8282 } : {
8383 jestConfig ?: Partial < Config . ProjectConfig >
84- tsJestConfig ?: TsJestGlobalOptions
85- parentConfig ?: TsJestGlobalOptions
84+ tsJestConfig ?: TsJestTransformerOptions
85+ parentConfig ?: TsJestTransformerOptions
8686 } = { } ,
8787 jestCacheFS : StringMap = new Map < string , string > ( ) ,
8888) : TsCompiler {
0 commit comments