@@ -41,8 +41,10 @@ Create a configuration to process TypeScript files (`.ts`/`.tsx`).
41
41
An object contains Jest's ` transform ` property:
42
42
43
43
``` ts
44
+ import type { TsConfigJson } from ' type-fest'
45
+
44
46
interface TsJestTransformerOptions {
45
- tsconfig? : boolean | string | RawCompilerOptions
47
+ tsconfig? : boolean | string | TsConfigJson . CompilerOptions
46
48
isolatedModules? : boolean
47
49
astTransformers? : ConfigCustomTransformer
48
50
diagnostics? :
@@ -99,8 +101,10 @@ Create a **LEGACY** configuration to process TypeScript files (`.ts`, `.tsx`).
99
101
An object contains Jest's ` transform ` property:
100
102
101
103
``` ts
104
+ import type { TsConfigJson } from ' type-fest'
105
+
102
106
interface TsJestTransformerOptions {
103
- tsconfig? : boolean | string | RawCompilerOptions
107
+ tsconfig? : boolean | string | TsConfigJson . CompilerOptions
104
108
isolatedModules? : boolean
105
109
astTransformers? : ConfigCustomTransformer
106
110
diagnostics? :
@@ -216,8 +220,10 @@ Create a **LEGACY** ESM configuration to process TypeScript files (`.ts`/`.mts`/
216
220
An object contains Jest's ` transform ` property:
217
221
218
222
``` ts
223
+ import type { TsConfigJson } from ' type-fest'
224
+
219
225
interface TsJestTransformerOptions {
220
- tsconfig? : boolean | string | RawCompilerOptions
226
+ tsconfig? : boolean | string | TsConfigJson . CompilerOptions
221
227
isolatedModules? : boolean
222
228
astTransformers? : ConfigCustomTransformer
223
229
diagnostics? :
@@ -275,8 +281,10 @@ Create a configuration to process JavaScript/TypeScript files (`.js`/`.jsx`/`.ts
275
281
An object contains Jest's ` transform ` property:
276
282
277
283
``` ts
284
+ import type { TsConfigJson } from ' type-fest'
285
+
278
286
interface TsJestTransformerOptions {
279
- tsconfig? : boolean | string | RawCompilerOptions
287
+ tsconfig? : boolean | string | TsConfigJson . CompilerOptions
280
288
isolatedModules? : boolean
281
289
astTransformers? : ConfigCustomTransformer
282
290
diagnostics? :
@@ -391,8 +399,10 @@ Create a ESM configuration to process JavaScript/TypeScript files (`.js`/`.mjs`/
391
399
An object contains Jest's ` transform ` property:
392
400
393
401
``` ts
402
+ import type { TsConfigJson } from ' type-fest'
403
+
394
404
interface TsJestTransformerOptions {
395
- tsconfig? : boolean | string | RawCompilerOptions
405
+ tsconfig? : boolean | string | TsConfigJson . CompilerOptions
396
406
isolatedModules? : boolean
397
407
astTransformers? : ConfigCustomTransformer
398
408
diagnostics? :
@@ -508,8 +518,10 @@ Create a configuration to process JavaScript/TypeScript files (`.js`/`.jsx`/`.ts
508
518
An object contains Jest's ` transform ` property:
509
519
510
520
``` ts
521
+ import type { TsConfigJson } from ' type-fest'
522
+
511
523
interface TsJestTransformerOptions {
512
- tsconfig? : boolean | string | RawCompilerOptions
524
+ tsconfig? : boolean | string | TsConfigJson . CompilerOptions
513
525
isolatedModules? : boolean
514
526
astTransformers? : ConfigCustomTransformer
515
527
diagnostics? :
@@ -628,8 +640,10 @@ Create a ESM configuration to process JavaScript/TypeScript files (`.js`/`.mjs`/
628
640
An object contains Jest's ` transform ` property:
629
641
630
642
``` ts
643
+ import type { TsConfigJson } from ' type-fest'
644
+
631
645
interface TsJestTransformerOptions {
632
- tsconfig? : boolean | string | RawCompilerOptions
646
+ tsconfig? : boolean | string | TsConfigJson . CompilerOptions
633
647
isolatedModules? : boolean
634
648
astTransformers? : ConfigCustomTransformer
635
649
diagnostics? :
0 commit comments