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

8 lines
383 B
Plaintext

import { Tuple } from '../tuple/index.mjs';
import { Never } from '../never/index.mjs';
import * as KindGuard from '../guard/kind.mjs';
/** `[JavaScript]` Extracts the ConstructorParameters from the given Constructor type */
export function ConstructorParameters(schema, options) {
return (KindGuard.IsConstructor(schema) ? Tuple(schema.parameters, options) : Never(options));
}