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

12 lines
481 B
Plaintext

import type { TSchema, SchemaOptions } from '../schema/index';
import type { Static } from '../static/index';
import { Kind } from '../symbols/index';
export interface TPromise<T extends TSchema = TSchema> extends TSchema {
[Kind]: 'Promise';
static: Promise<Static<T, this['params']>>;
type: 'Promise';
item: TSchema;
}
/** `[JavaScript]` Creates a Promise type */
export declare function Promise<T extends TSchema>(item: T, options?: SchemaOptions): TPromise<T>;