From 26fa49f4b0aa658d65a21fffe828f39e78302573 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 17:46:58 +0800 Subject: [PATCH] Revert "Update#139889 [ 快速篩選 ] 年資文案調整" --- PAMapp/node_modules/ts-jest/dist/types.d.ts | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/ts-jest/dist/types.d.ts b/PAMapp/node_modules/ts-jest/dist/types.d.ts index f2bffde..ac4e63e 100644 --- a/PAMapp/node_modules/ts-jest/dist/types.d.ts +++ b/PAMapp/node_modules/ts-jest/dist/types.d.ts @@ -2,7 +2,7 @@ import type { Config } from '@jest/types'; import type * as _babel from 'babel__core'; import type * as _ts from 'typescript'; -import type { ConfigSet } from './config/config-set'; +import type { ConfigSet } from './config'; import type { RawCompilerOptions } from './raw-compiler-options'; declare module '@jest/types' { namespace Config { @@ -12,6 +12,16 @@ } } export declare type TTypeScript = typeof _ts; +export interface TEsBuild { + transformSync(input: string, options?: { + loader: 'ts' | 'js'; + format: 'cjs' | 'esm'; + target: string; + }): { + code: string; + map: string; + }; +} export declare type BabelConfig = _babel.TransformOptions; export declare type TsJestPresets = Pick<Config.InitialOptions, 'extensionsToTreatAsEsm' | 'moduleFileExtensions' | 'transform' | 'testMatch'>; export interface AstTransformer<T = Record<string, unknown>> { @@ -26,7 +36,7 @@ export interface TsJestGlobalOptions { tsconfig?: boolean | string | RawCompilerOptions; isolatedModules?: boolean; - compiler?: string; + compiler?: 'typescript' | 'ttypescript' | string; astTransformers?: ConfigCustomTransformer; diagnostics?: boolean | { pretty?: boolean; -- Gitblit v1.8.0