import type { TSchema } from '../schema/index'; import type { Static } from '../static/index'; import { Kind } from '../symbols/index'; type UnionStatic = { [K in keyof T]: T[K] extends TSchema ? Static : never; }[number]; export interface TUnion extends TSchema { [Kind]: 'Union'; static: UnionStatic; anyOf: T; } export {};