ListItem
Updated 22 Oct 2026
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:888
Markdown list item.
Extends
Properties
checked?
optional checked?: boolean | null
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:899
Whether the item is a tasklist item (when boolean).
When true, the item is complete.
When false, the item is incomplete.
children
children: (BlockContent | DefinitionContent)[]
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:908
Children of list item.
Overrides
data?
optional data?: ListItemData
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:912
Data associated with the mdast list item.
Overrides
position?
optional position?: Position
Defined in: node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts:103
Position of a node in a source document.
Nodes that are generated (not in the original source document) must not have a position.
Inherited from
spread?
optional spread?: boolean | null
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:904
Whether one or more of the children are separated with a blank line from
its siblings (when true), or not (when false or not present).
type
type: "listItem"
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:892
Node type of mdast list item.