Files
NapCatQQ/.pnpm-store/v3/files/83/b524dcd839bb5b377bb08bdd1e391ffa0f63fe5c08f41a227adae132049016589d01351386048e8a93be0838e600406fb1fe495570d2210a31e7ead353dcef
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

7 lines
411 B
Plaintext

import type { TSchema, SchemaOptions } from '../schema/index';
import { type TNever } from '../never/index';
import type { TUnion } from './union-type';
export type Union<T extends TSchema[]> = (T extends [] ? TNever : T extends [TSchema] ? T[0] : TUnion<T>);
/** `[Json]` Creates a Union type */
export declare function Union<Types extends TSchema[]>(types: [...Types], options?: SchemaOptions): Union<Types>;