UNPKG

267 BTypeScriptView Raw
1import { Merge } from "../merge";
2type _MergeN<Tuple extends readonly any[], Result> = Tuple extends readonly [infer Head, ...infer Tail] ? _MergeN<Tail, Merge<Result, Head>> : Result;
3export type MergeN<Tuple extends readonly any[]> = _MergeN<Tuple, {}>;
4export {};