@portabletext/to-html with typed arguments
@[:page_toc](## Page Contents)
npm install @portabletext/to-html @portabletext-typed/to-html
After using @sanity-typed/types and @sanity-typed/client and you have typed blocks, use toHTML
from this library as you would from @portabletext/to-html
to get fully typed arguments!
The supported Typescript version is now 5.4.2 <= x <= 5.6.3. Older versions are no longer supported and newer versions will be added as we validate it.