Drop the as const on the doc directive's attribute

This commit is contained in:
2026-10-03 15:04:11 +02:00
parent 0ac5dccf11
commit 5a7279059d
+1 -1
View File
@@ -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]]))