Spread
import type { Spread } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/kind.ts";Spread the keys of a struct union into a single struct.
type Spread<A> = [K in keyof A]: A[K] extends infer B ? B : never;
import type { Spread } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/kind.ts";Spread the keys of a struct union into a single struct.