From aa3bf4dfe46dc38e96cb073afa9f7863140b3214 Mon Sep 17 00:00:00 2001 From: 0b5vr <0b5vr@0b5vr.com> Date: Tue, 9 Dec 2025 23:07:52 +0900 Subject: [PATCH] fix: expose missing NumberListNode from index export Context: I'm making a library called scrapbox-parser-to-markdown that takes the output of scrapbox-parser and converts it to markdown. In this library, I need the `NumberListNode` type to type things correctly. Since other nodes are already exposed from `index.ts`, I think it's more natural to expose `NumberListNode` as well. See how I use `NumberListNode` in my codebase: https://github.com/0b5vr/scrapbox-parser-to-markdown/blob/bc7f7a9511c68f19aa5fef5e464cc1042912f57f/src/nodeToMarkdown.ts#L77 Workaround: `type NumberListNode = Extract;` would work. --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 173f85cf..fa818f55 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,6 +15,7 @@ export type { ImageNode, LinkNode, Node, + NumberListNode, PlainNode, QuoteNode, StrongIconNode,