Skip to content

Commit 9352e24

Browse files
nperez0111claude
andcommitted
fix: drop as const from PRETTIFY_OPTIONS to satisfy htmlfy types
`as const` typed `ignore` as a readonly tuple, which doesn't match `UserConfig.ignore: string[]`, breaking CI typecheck. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 83f1f69 commit 9352e24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/src/unit/shared/formatConversion/export/exportTestExecutors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ExportTestCase } from "./exportTestCase.js";
1313

1414
// Preserve `<code>` whitespace so code-block snapshots show actual newlines
1515
// instead of having them collapsed by the prettifier.
16-
const PRETTIFY_OPTIONS = { tag_wrap: true, ignore: ["code"] } as const;
16+
const PRETTIFY_OPTIONS = { tag_wrap: true, ignore: ["code"] };
1717

1818
export const testExportBlockNoteHTML = async <
1919
B extends BlockSchema,

0 commit comments

Comments
 (0)