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

8 lines
573 B
Plaintext

import type { TSchema, SchemaOptions } from '../schema/index';
import type { TFunction } from '../function/index';
import { type TTuple } from '../tuple/index';
import { type TNever } from '../never/index';
export type TParameters<Type extends TSchema> = (Type extends TFunction<infer Parameters extends TSchema[], infer _ReturnType extends TSchema> ? TTuple<Parameters> : TNever);
/** `[JavaScript]` Extracts the Parameters from the given Function type */
export declare function Parameters<Type extends TSchema>(schema: Type, options?: SchemaOptions): TParameters<Type>;