Closed angeloashmore closed 8 months ago
Patch coverage: 100.00%
and no project coverage change.
Comparison is base (
ca3f851
) 99.68% compared to head (39100db
) 99.68%.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Path | Size |
---|---|
./dist/index.cjs | 8.02 KB (0%) |
./dist/index.js | 6.05 KB (0%) |
./dist/react-server.cjs | 7.21 KB (0%) |
./dist/react-server.js | 5.57 KB (0%) |
Types of changes
Description
This PR fixes a bug/limitation in
usePrismicClient()
that did not allow the Prismic client to use content types generated byprismic-ts-codegen
or Slice Machine.As of this PR, you can now provide
usePrismicClient()
with a type parameter specifying the content types, just like using@prismicio/client
'screateClient()
function directly.Checklist: