diff --git a/src/types.ts b/src/types.ts index 14ae3948b9..9c85b0d139 100644 --- a/src/types.ts +++ b/src/types.ts @@ -193,10 +193,11 @@ export interface InitialOptionsTsJest extends Config.InitialOptions { globals?: GlobalConfigTsJest } type TsJestTransformerOptions = TsJestGlobalOptions -export interface JestConfigWithTsJest extends Partial> { +export interface JestConfigWithTsJest extends Partial> { transform: { [regex: string]: 'ts-jest' | ['ts-jest', TsJestTransformerOptions] | string | [string, Record] } + globals?: { [K: string]: unknown } } export type StringMap = Map