| 11 | } |
| 12 | |
| 13 | interface Node { |
| 14 | _type: 'block' |
| 15 | style: 'h1' | 'h2' | 'h3' | 'h4' |
| 16 | _key: string |
| 17 | children?: HeadingNode[] |
| 18 | } |
| 19 | |
| 20 | const parseOutline = (nodes: Node[]) => { |
| 21 | return nodes |
nothing calls this directly
no outgoing calls
no test coverage detected