@@ -6531,13 +6531,13 @@ declare module '@babel/types' {
65316531 ): T;
65326532 declare export function cloneWithoutLoc<T>(n: T): T;
65336533 declare type CommentTypeShorthand = 'leading' | 'inner' | 'trailing';
6534- declare export function addComment<T: Node>(
6534+ declare export function addComment<T extends Node>(
65356535 node: T,
65366536 type: CommentTypeShorthand,
65376537 content: string,
65386538 line?: boolean,
65396539 ): T;
6540- declare export function addComments<T: Node>(
6540+ declare export function addComments<T extends Node>(
65416541 node: T,
65426542 type: CommentTypeShorthand,
65436543 comments: Array<Comment>,
@@ -6547,15 +6547,15 @@ declare module '@babel/types' {
65476547 node: Node,
65486548 parent: Node,
65496549 ): void;
6550- declare export function inheritsComments<T: Node>(
6550+ declare export function inheritsComments<T extends Node>(
65516551 node: T,
65526552 parent: Node,
65536553 ): void;
65546554 declare export function inheritTrailingComments(
65556555 node: Node,
65566556 parent: Node,
65576557 ): void;
6558- declare export function removeComments<T: Node>(node: T): T;
6558+ declare export function removeComments<T extends Node>(node: T): T;
65596559 declare export function ensureBlock(
65606560 node: BabelNode,
65616561 key: string,
@@ -6598,7 +6598,7 @@ declare module '@babel/types' {
65986598 append: BabelNode,
65996599 computed?: boolean,
66006600 ): BabelNodeMemberExpression;
6601- declare export function inherits<T: Node>(
6601+ declare export function inherits<T extends Node>(
66026602 child: T,
66036603 parent: BabelNode | null | void,
66046604 ): T;
0 commit comments