UNPKG

@buka/nestjs-config

Version:
7 lines (6 loc) 262 B
/* eslint-disable @typescript-eslint/no-empty-object-type */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { mergeDeepRight } from 'ramda'; export function deepMergeAll(list) { return list.reduce((acc, curr) => mergeDeepRight(acc, curr)); }