packages/okidoc-md/src/utils/nodeAST.js
function cleanUpNodeJSDoc(
  node,
  JSDocCommentValue = getJSDocCommentValue(node),
) {
  t.removeComments(node);
  t.addComment(node, 'leading', createJSDocCommentValue(JSDocCommentValue));
}
function cleanUpNodeJSDoc(
  node,
  JSDocCommentValue = getJSDocCommentValue(node),
) {
  t.removeComments(node);
  t.addComment(node, 'leading', createJSDocCommentValue(JSDocCommentValue));
}
function cleanUpNodeJSDoc ( node , JSDocCommentValue = getJSDocCommentValue ( node ) , ) { t . removeComments ( node ) ; t . addComment ( node , 'leading' , createJSDocCommentValue ( JSDocCommentValue ) ) ; }
Ensure node JSDoc comment is provided and in valid position
Ensure node JSDoc comment is provided and in valid position