Interface represents an interface for an object received as parameter by Node class constructor.

interface CommentProps {
    raws?: CommentRaws;
    source?: Source;
    text: string;
}

Hierarchy (view full)

Properties

Properties

Information used to generate byte-to-byte equal node string as it was in the origin input.

source?: Source
text: string

Content of the comment.