Skip to content

loadLayered

loadLayered<T>(opts): Promise<LayeredResult<T> | null>

Defined in: cli/datapad/src/load-layered/load-layered.ts:11

<name>.config.* layered over the [fallback.key] of <fallback.file>.config.*. Either, both, or neither may be present; the dedicated file wins on conflict (vitest-over-vite). Returns null when neither source resolves.

T

LoadLayeredOptions<T>

Promise<LayeredResult<T> | null>