Files
NapCatQQ/.pnpm-store/v3/files/ef/4f3d973b253d6267fbf465261e836d75330ecade097ab4cffa3c581c69afef141d7cbb90027dbf731d75be0e71a7143dae6e56c680a59007eac635c4a3cd55
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

7 lines
483 B
Plaintext

import type { TSchema } from '../schema/index.mjs';
import { type TNever } from '../never/index.mjs';
import { TIntersect, IntersectOptions } from './intersect-type.mjs';
export type Intersect<Types extends TSchema[]> = (Types extends [TSchema] ? Types[0] : Types extends [] ? TNever : TIntersect<Types>);
/** `[Json]` Creates an evaluated Intersect type */
export declare function Intersect<Types extends TSchema[]>(types: [...Types], options?: IntersectOptions): Intersect<Types>;