Type '{} & ({ [regex: string]: string | TransformerConfig; } | { [key: string]: string | string[]; } | Record<string, unknown> | CoverageThreshold | ... 5 more ... | null) & (string | ... 18 more ... | undefined)' is not assignable to type 'undefined'.