TableRow

import { TableRow } from "jsr:@ende/markdown";

interface

interface TableRow

A row of a Table.

Example: Usage

import type { TableRow } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";

const node: TableRow = { type: "tableRow", children: [{ type: "tableCell", children: [] }] };
assertEquals(node.children.length, 1);

Properties

type

type: "tableRow"

Node type.

children

children: TableCell[]

The cells.

Source