Befor generating

This commit is contained in:
marys
2026-06-01 13:17:37 +02:00
parent 3383f4bf4a
commit 1aa1b5f625
6756 changed files with 649946 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
declare module "regexpu-core" {
export type RegexpuOptions = {
unicodeFlag?: "transform" | false;
unicodeSetsFlag?: "transform" | false;
dotAllFlag?: "transform" | false;
unicodePropertyEscapes?: "transform" | false;
namedGroups?: "transform" | false;
onNamedGroup?: (name: string, index: number) => void;
modifiers?: "transform" | false | "parse";
onNewFlags?: (flags: string) => void;
};
export default function rewritePattern(
pattern: string,
flags: string,
options: RegexpuOptions | undefined
): string;
}