UNPKG

@wordpress/wordcount

Version:
13 lines 424 B
/** * Internal dependencies */ import type { Settings } from './types'; /** * Replaces items matched in the regex with new line. * * @param settings The main settings object containing regular expressions * @param text The string being counted. * @return The manipulated text. */ export default function stripHTMLComments(settings: Settings, text: string): string; //# sourceMappingURL=stripHTMLComments.d.ts.map