Closed angeloashmore closed 2 years ago
Merging #142 (b0f61cc) into master (3f774db) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #142 +/- ##
=======================================
Coverage 92.36% 92.36%
=======================================
Files 16 16
Lines 275 275
Branches 64 64
=======================================
Hits 254 254
Misses 5 5
Partials 16 16
Impacted Files | Coverage Δ | |
---|---|---|
src/PrismicLink.tsx | 96.96% <ø> (ø) |
|
src/PrismicProvider.tsx | 100.00% <100.00%> (ø) |
|
src/PrismicRichText.tsx | 96.29% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 3f774db...b0f61cc. Read the comment docs.
Path | Size |
---|---|
dist/index.js | 4.43 KB (0%) |
dist/index.cjs | 6.31 KB (0%) |
Types of changes
Description
This PR fixes a TypeScript type bug where provided Link Resolvers were not allowed to return anything except
string
.The following components that accept a Link Resolver function have been fixed:
PrismicProvider
PrismicRichText
PrismicLink
Fixes #137
Checklist:
🐟