Skip to content

Commit

Permalink
chore(error): use runtime declaration in defineProps
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 30, 2024
1 parent b014e9f commit ae4a550
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ useSeoMeta({
description: 'We are sorry but this page could not be found.'
})
defineProps<{
error: NuxtError
}>()
defineProps({
error: {
type: Object as PropType<NuxtError>,
required: true
}
})
useHead({
htmlAttrs: {
Expand Down

0 comments on commit ae4a550

Please sign in to comment.