1 | import * as _babel from 'babel__core';
|
2 | import * as _ts from 'typescript';
|
3 | export declare type TTypeScript = typeof _ts;
|
4 | export declare type BabelConfig = _babel.TransformOptions;
|
5 | export interface TsJestGlobalOptions {
|
6 | tsConfig?: boolean | string | _ts.CompilerOptions;
|
7 | tsconfig?: boolean | string | _ts.CompilerOptions;
|
8 | packageJson?: boolean | string | Record<string, unknown>;
|
9 | isolatedModules?: boolean;
|
10 | compiler?: string;
|
11 | astTransformers?: string[];
|
12 | diagnostics?: boolean | {
|
13 | pretty?: boolean;
|
14 | ignoreCodes?: number | string | (number | string)[];
|
15 | pathRegex?: RegExp | string;
|
16 | warnOnly?: boolean;
|
17 | };
|
18 | babelConfig?: boolean | string | BabelConfig;
|
19 | stringifyContentPathRegex?: string | RegExp;
|
20 | }
|
21 | interface TsJestConfig$tsConfig$file {
|
22 | kind: 'file';
|
23 | value: string | undefined;
|
24 | }
|
25 | interface TsJestConfig$tsConfig$inline {
|
26 | kind: 'inline';
|
27 | value: _ts.CompilerOptions;
|
28 | }
|
29 | declare type TsJestConfig$tsConfig = TsJestConfig$tsConfig$file | TsJestConfig$tsConfig$inline | undefined;
|
30 | interface TsJestConfig$diagnostics {
|
31 | pretty: boolean;
|
32 | ignoreCodes: number[];
|
33 | pathRegex?: string | undefined;
|
34 | throws: boolean;
|
35 | warnOnly?: boolean;
|
36 | }
|
37 | interface TsJestConfig$babelConfig$file {
|
38 | kind: 'file';
|
39 | value: string | undefined;
|
40 | }
|
41 | interface TsJestConfig$babelConfig$inline {
|
42 | kind: 'inline';
|
43 | value: BabelConfig;
|
44 | }
|
45 | declare type TsJestConfig$babelConfig = TsJestConfig$babelConfig$file | TsJestConfig$babelConfig$inline | undefined;
|
46 | interface TsJestConfig$packageJson$file {
|
47 | kind: 'file';
|
48 | value: string | undefined;
|
49 | }
|
50 | interface TsJestConfig$packageJson$inline {
|
51 | kind: 'inline';
|
52 | value: any;
|
53 | }
|
54 | declare type TsJestConfig$packageJson = TsJestConfig$packageJson$file | TsJestConfig$packageJson$inline | undefined;
|
55 | declare type TsJestConfig$stringifyContentPathRegex = string | undefined;
|
56 | export interface TsJestConfig {
|
57 | tsConfig: TsJestConfig$tsConfig;
|
58 | packageJson: TsJestConfig$packageJson;
|
59 | isolatedModules: boolean;
|
60 | compiler: string;
|
61 | diagnostics: TsJestConfig$diagnostics;
|
62 | babelConfig: TsJestConfig$babelConfig;
|
63 | transformers: string[];
|
64 | stringifyContentPathRegex: TsJestConfig$stringifyContentPathRegex;
|
65 | }
|
66 | export interface TsCompiler {
|
67 | program: _ts.Program | undefined;
|
68 | }
|
69 | export {};
|