core3-utils

@wixc3/typescript on Github

Home > @wixc3/typescript > findNodeAfterComment

findNodeAfterComment() function

Finds all nodes following a comment

Signature:

export declare function findNodeAfterComment(node: ts.Node | undefined, comment: RegExp | string): Iterable<ts.Node>;

Parameters

Parameter Type Description
node ts.Node \| undefined
comment RegExp \| string

Returns:

Iterable<ts.Node>