From 5a7279059defa618a2bb9af3af5b0b5ba1a8b8aa Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 3 Oct 2026 15:04:11 +0200 Subject: [PATCH] Drop the as const on the doc directive's attribute --- src/markdown/block-directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown/block-directive.ts b/src/markdown/block-directive.ts index 00f4643..83ff2a0 100644 --- a/src/markdown/block-directive.ts +++ b/src/markdown/block-directive.ts @@ -17,7 +17,7 @@ const argumentByType = new Map( export const documentName = 'doc' // spec/flavour.md, Directives: a document holding no content key, which the empty string cannot spell. -export const documentAttribute = { key: 'content', value: 'none' } as const +export const documentAttribute = { key: 'content', value: 'none' } export const documentSpelling = spellDirectiveOpener(documentName, undefined, spellAttributes([[documentAttribute.key, documentAttribute.value]]))