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

21 lines
739 B
Plaintext

import type { SchemaOptions } from '../schema/index';
import type { TSchema } from '../schema/index';
import { Kind } from '../symbols/index';
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;