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
8 lines
589 B
Plaintext
8 lines
589 B
Plaintext
import type { TSchema, SchemaOptions } from '../schema/index.mjs';
|
|
import type { TFunction } from '../function/index.mjs';
|
|
import { type TTuple } from '../tuple/index.mjs';
|
|
import { type TNever } from '../never/index.mjs';
|
|
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>;
|