File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,8 @@ export type SliceLike<TSliceType extends string = string> = (
87
87
*
88
88
* @typeParam TSlice - The type(s) of slices in the Slice Zone
89
89
*/
90
- export type SliceZoneLike <
91
- TSlice extends SliceLike = SliceLike & Record < string , unknown > ,
92
- > = readonly TSlice [ ] ;
90
+ export type SliceZoneLike < TSlice extends SliceLike = SliceLike > =
91
+ readonly TSlice [ ] ;
93
92
94
93
/**
95
94
* Vue props for a component rendering content from a Prismic Slice using the
@@ -481,7 +480,9 @@ export const SliceZoneImpl = /*#__PURE__*/ defineComponent({
481
480
name : "SliceZone" ,
482
481
props : {
483
482
slices : {
484
- type : Array as PropType < SliceZoneLike > ,
483
+ type : Array as PropType <
484
+ SliceZoneLike < SliceLike & Record < string , unknown > >
485
+ > ,
485
486
required : true ,
486
487
} ,
487
488
components : {
You can’t perform that action at this time.
0 commit comments