Keep `RegularExpressionAnyString` but export as internal

This commit is contained in:
graphemecluster 2024-11-12 09:59:34 +08:00
Родитель 29894293c4
Коммит 8cc6840c4d
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -2817,7 +2817,10 @@ export interface RegularExpressionDisjunctionsScope extends Array<RegularExpress
}
/** @internal */
export type RegularExpressionPatternContent = string | typeof RegExpAnyString | RegularExpressionPatternUnion;
export type RegularExpressionAnyString = typeof RegExpAnyString;
/** @internal */
export type RegularExpressionPatternContent = string | RegularExpressionAnyString | RegularExpressionPatternUnion;
/** @internal */
export interface RegularExpressionPattern extends Array<RegularExpressionPatternContent> {
@ -2833,7 +2836,7 @@ export interface RegularExpressionPatternUnion extends Set<string | RegularExpre
}
/** @internal */
export type RegularExpressionReducedContent = string | typeof RegExpAnyString | RegularExpressionReducedUnion | RegularExpressionReducedPattern;
export type RegularExpressionReducedContent = string | RegularExpressionAnyString | RegularExpressionReducedUnion | RegularExpressionReducedPattern;
/** @internal */
export interface RegularExpressionReducedUnion extends Set<string | RegularExpressionReducedPattern> {
@ -2841,7 +2844,7 @@ export interface RegularExpressionReducedUnion extends Set<string | RegularExpre
}
/** @internal */
export interface RegularExpressionReducedPattern extends Array<string | typeof RegExpAnyString> {
export interface RegularExpressionReducedPattern extends Array<string | RegularExpressionAnyString> {
_regularExpressionReducedPatternBrand: any;
}