UNPKG

@gptp/core

Version:

Library to supercharge your use of large language models

9 lines (8 loc) 389 B
import { string_html, string_markdown } from '../../types/typeAliases'; /** * Removes HTML or Markdown comments from a string. * * @param {string} content - The string to remove comments from. * @returns {string} The input string with all comments removed. */ export declare function removeContentComments<TContent extends string_html | string_markdown>(content: TContent): TContent;