Skip to content

fumadocs-twoslash@3.3.1

Choose a tag to compare

@github-actions github-actions released this 04 Sep 04:06
b48af72

Replace cnfast with cn

Internal refactor only.

Bundle TypeScript for Twoslash

fumadocs-twoslash now depends on its own TypeScript 6 and passes it to Twoslash, so the transformer keeps working in projects on TypeScript 7 (whose package no longer provides the compiler API Twoslash requires). Previously, every Twoslash code block that was not already in the types cache failed with Cannot read properties of undefined (reading 'readFile').