index.ts 307 B

1234567891011
  1. export * from './consts';
  2. export * from './interfaces';
  3. // Type declaration for RegExp.escape() (ES2026, Stage 4)
  4. // Available natively in Node.js 24+ (V8 13.x+)
  5. // Can be removed once TypeScript adds built-in support
  6. declare global {
  7. interface RegExpConstructor {
  8. escape(str: string): string;
  9. }
  10. }