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

21 lines
751 B
Plaintext

import type { SchemaOptions } from '../schema/index.mjs';
import type { TSchema } from '../schema/index.mjs';
import { Kind } from '../symbols/index.mjs';
export interface RegExpOptions extends SchemaOptions {
/** The maximum length of the string */
maxLength?: number;
/** The minimum length of the string */
minLength?: number;
}
export interface TRegExp extends TSchema {
[Kind]: 'RegExp';
static: `${string}`;
type: 'RegExp';
source: string;
flags: string;
}
/** `[JavaScript]` Creates a RegExp type */
export declare function RegExp(pattern: string, options?: RegExpOptions): TRegExp;
/** `[JavaScript]` Creates a RegExp type */
export declare function RegExp(regex: RegExp, options?: RegExpOptions): TRegExp;