Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 2.19 KB

_README.md

File metadata and controls

36 lines (23 loc) · 2.19 KB

@portabletext-typed/to-html

NPM Downloads GitHub commit activity (branch) GitHub Repo stars GitHub contributors GitHub issues by-label Minified Size License

GitHub Sponsors

@portabletext/to-html with typed arguments

@[:page_toc](## Page Contents)

Install

npm install @portabletext/to-html @portabletext-typed/to-html

Usage

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!

@typescript @typescript

Breaking Changes

1 to 2

Typescript version from 5.4.2 <= x <= 5.6.3

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.