Debian Codegraph @

packages/babel-types/src/comments/inheritLeadingComments.ts

raw
1 import inherit from "../utils/inherit";
2 import type * as t from "..";
3
4 export default function inheritLeadingComments(
5 child: t.Node,
6 parent: t.Node,
7 ): void {
8 inherit("leadingComments", child, parent);
9 }