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

12 lines
493 B
Plaintext

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