From 5087ee04204ffa57ca4a9f11a81a6a98c5aabbd4 Mon Sep 17 00:00:00 2001 From: smigles <57520478+smigles@users.noreply.github.com> Date: Mon, 25 Sep 2023 00:23:32 +0300 Subject: [PATCH] Fix section header type --- 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; }