@yamlresume/core
    Preparing search index...

    Function clearComments

    • Recursively clear all existing comments from a YAML AST node.

      This ensures that injected comments are deterministic and never duplicated with comments that may already exist in the document.

      Type Parameters

      • T

      Parameters

      • node: T

        The YAML AST node to clear comments from.

      Returns T

      The same node, with comments removed.