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
7 lines
586 B
Plaintext
7 lines
586 B
Plaintext
import { type TSchema, SchemaOptions } from '../schema/index.mjs';
|
|
import { type TConstructor } from '../constructor/index.mjs';
|
|
import { type TNever } from '../never/index.mjs';
|
|
export type TInstanceType<Type extends TSchema, Result extends TSchema = Type extends TConstructor<infer _Parameters extends TSchema[], infer InstanceType extends TSchema> ? InstanceType : TNever> = Result;
|
|
/** `[JavaScript]` Extracts the InstanceType from the given Constructor type */
|
|
export declare function InstanceType<Type extends TSchema>(schema: Type, options?: SchemaOptions): TInstanceType<Type>;
|