1 | import { ConfigSchemaOptions } from '../schemas/config';
|
2 | /**
|
3 | * Validates and normalizes config.
|
4 | *
|
5 | * @param {object} config
|
6 | * @param {object} schema
|
7 | * @param {string} rootDir
|
8 | * @return {object}
|
9 | */
|
10 | export default function sanitizeConfig<T extends Record<string, any>>(config: T, schema: Record<keyof T, ConfigSchemaOptions<T>>, rootDir: string): T;
|