Files
NapCatQQ/.pnpm-store/v3/files/64/e007335809512a56d3f57406b79ef0c8b3fbf70b2c9ed4c1c76acaf98427740d958a014786f8c71e115f91aa6a57f47732613daf073e9505bad8ae61b88891
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

13 lines
445 B
Plaintext

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