Skip to content

Commit

Permalink
fix(ContentList): component slot typechecking (#2277)
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat committed Sep 1, 2023
1 parent caa486f commit 467b757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/ContentList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const ContentList = defineComponent({
export default ContentList as typeof ContentList & {
new (): {
$slots: {
default: (context: { data: ParsedContent[], refresh: () => Promise<void> }) => VNode[] | undefined
default: (context: { list: ParsedContent[], refresh: () => Promise<void> }) => VNode[] | undefined
}
}
}
Expand Down

0 comments on commit 467b757

Please sign in to comment.