Type alias Heading

Heading: {
    contents?: InlineElement[] | string;
    level: number;
    properties?: ParagraphProps;
    rect: Rect;
    textStyle?: TextStyle;
    type: "heading";
}

Type declaration