Debian Codegraph @

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

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