From f768777baea8d0ad7d54bd8cd2efafdeb1d3d427 Mon Sep 17 00:00:00 2001 From: Gleb Smirnov <57520478+smigles@users.noreply.github.com> Date: Mon, 25 Sep 2023 07:05:39 +0300 Subject: [PATCH] Fix section header type (#63) --- src/wikitext.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wikitext.ts b/src/wikitext.ts index 19386c6..ad75a18 100644 --- a/src/wikitext.ts +++ b/src/wikitext.ts @@ -122,7 +122,7 @@ export interface CategoryLink extends Link { export interface Section { level: number; - header: string; + header: string | null; index: number; content?: string; }