Closed angeloashmore closed 3 years ago
Merging #2 (a38a098) into master (a2e41d6) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #2 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 31 31
=========================================
Hits 31 31
Impacted Files | Coverage Δ | |
---|---|---|
src/index.ts | 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 a2e41d6...a38a098. Read the comment docs.
Types of changes
Description
This PR adds types for Custom Type models. The types reflect the JSON shape used to defined a Custom Type in Prismic.
The types would be used whenever interacting with the models directly. For example, the types could be used when using the Custom Types API. It could also be used in packages that parse Custom Type models.
Checklist: