securityos/node_modules/next/dist/build/swc/jest-transformer.d.ts

15 lines
545 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { Config } from '@jest/types';
import type { NextConfig, ExperimentalConfig } from '../../server/config-shared';
type TransformerConfig = Config.TransformerConfig[1];
export interface JestTransformerConfig extends TransformerConfig {
jsConfig: any;
resolvedBaseUrl?: string;
pagesDir?: string;
hasServerComponents?: boolean;
isEsmProject: boolean;
modularizeImports?: NextConfig['modularizeImports'];
swcPlugins: ExperimentalConfig['swcPlugins'];
compilerOptions: NextConfig['compiler'];
}
export {};