UNPKG

@imhonglu/pattern-builder

Version:

Type-safe regular expression pattern builder for TypeScript with fluent API

9 lines 339 B
import type { PatternInput } from "../types/pattern-input.js"; /** * Extracts the source of a pattern. * * @param pattern - The pattern to extract the source from. * @returns The source of the pattern. */ export declare function extractPatternSource(pattern: PatternInput): string; //# sourceMappingURL=extract-pattern-source.d.ts.map