sflow
Version:
sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, fil
5 lines • 347 B
TypeScript
import type { FieldPathByValue, FieldPathValue } from "react-hook-form";
export type Unwinded<T, K> = T extends Record<string, unknown> ? K extends FieldPathByValue<T, ReadonlyArray<unknown>> ? {
[key in K]: FieldPathValue<T, K> extends ReadonlyArray<infer U> ? U : never;
} & Omit<T, K> : never : never;
//# sourceMappingURL=Unwinded.d.ts.map