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

13 lines
740 B
Plaintext

import type { TSchema } from '../../type/schema/index.mjs';
import type { TRef } from '../../type/ref/index.mjs';
import type { TThis } from '../../type/recursive/index.mjs';
import { TypeBoxError } from '../../type/error/index.mjs';
export declare class TypeDereferenceError extends TypeBoxError {
readonly schema: TRef | TThis;
constructor(schema: TRef | TThis);
}
/** `[Internal]` Pushes a schema onto references if the schema has an $id and does not exist on references */
export declare function Pushref(schema: TSchema, references: TSchema[]): TSchema[];
/** `[Internal]` Dereferences a schema from the references array or throws if not found */
export declare function Deref(schema: TSchema, references: TSchema[]): TSchema;