@devries-cameron20 / t3code Mirror · read-only / commits / 2def3de4b9
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 16:45 UTC

fix(web): keep incremental highlighter return type portable (#17259)

luke committed Oct 10, 2026 at 03:59 UTC 2def3de4b931206d3387d222454af0daf4a274e2
1 file changed +1 -1
apps/web/src/lib/incrementalHighlighting.ts
+1 -1
@@ -18,7 +18,7 @@ export function createIncrementalHighlightedDocument(
18 highlighter: DiffsHighlighter,
19 language: string,
20 theme: DiffThemeName,
21 -) {
21 +): (code: string) => ReturnType<DiffsHighlighter["codeToHast"]> {
22 const options = { lang: language, theme };
23 const newline = { type: "text" as const, value: "\n" };
24 let cached: