mono/packages/discourse/lib/markdown/Pattern.d.ts

8 lines
214 B
TypeScript

import { RegExCallback } from './types';
export declare class Pattern {
regex: RegExp;
replacement: RegExCallback;
constructor(regex: RegExp, replacement: any);
apply(raw: string): string;
}