@@ -196,14 +196,6 @@ export interface JestConfigWithTsJest extends Omit<Config.InitialOptions, 'trans
196
196
}
197
197
}
198
198
199
- /**
200
- * @deprecated use `DefaultPreset`/`JsWithTsPreset`/`JsWithBabelPreset` instead
201
- */
202
- export type TsJestPresets = Pick <
203
- JestConfigWithTsJest ,
204
- 'extensionsToTreatAsEsm' | 'moduleFileExtensions' | 'transform' | 'testMatch'
205
- >
206
-
207
199
export type StringMap = Map < string , string >
208
200
export interface DepGraphInfo {
209
201
fileContent : string
@@ -245,7 +237,15 @@ export interface TsJestAstTransformer {
245
237
afterDeclarations : AstTransformerDesc [ ]
246
238
}
247
239
248
- export type DefaultTransformOptions = Omit < TsJestTransformerOptions , 'useESM' | 'babelConfig' >
240
+ /**
241
+ * @deprecated use other preset types below instead
242
+ */
243
+ export type TsJestPresets = Pick <
244
+ JestConfigWithTsJest ,
245
+ 'extensionsToTreatAsEsm' | 'moduleFileExtensions' | 'transform' | 'testMatch'
246
+ >
247
+
248
+ export type DefaultTransformOptions = Omit < TsJestTransformerOptions , 'useESM' >
249
249
export type DefaultPreset = {
250
250
transform : {
251
251
[ TS_TRANSFORM_PATTERN ] : [ 'ts-jest' , DefaultTransformOptions ]
@@ -271,7 +271,7 @@ export type DefaultEsmLegacyPreset = {
271
271
}
272
272
}
273
273
274
- export type JsWithTsTransformOptions = Omit < TsJestTransformerOptions , 'useESM' | 'babelConfig' >
274
+ export type JsWithTsTransformOptions = Omit < TsJestTransformerOptions , 'useESM' >
275
275
export type JsWithTsPreset = {
276
276
transform : {
277
277
[ TS_JS_TRANSFORM_PATTERN ] : [ 'ts-jest' , JsWithTsTransformOptions ]
0 commit comments