3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

Answer prose round 1: 1 🔴, 2 🟡 (0 misread); correct the decision, item 81 and a comment

This commit is contained in:
2026-11-09 08:07:26 +01:00
committed by Lillem4n
parent 87e5f0dca1
commit 04127727a8
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import { withinEngineLimits } from './length-bound.ts'
const em: AdfMark = { type: 'em' }
const duplicateMarks: AdfDocument = { content: [{ content: [{ marks: [em, em], text: 'x', type: 'text' }], type: 'paragraph' }], type: 'doc', version: 1 }
// One refusal per code. The Record type fails the build where a code has no entry, or an entry names no code.
// The Record type fails the typecheck where a code has no entry, or an entry names no code.
const causes: Record<ConvertErrorCode, () => Result<unknown>> = {
'engine-limit': () =>
withinEngineLimits(() => {