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

15 lines
545 B
TypeScript

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 {};