From 0d9a0b75387ac376a2c77b2739415093027771fc Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 31 Jul 2023 13:22:16 +0100 Subject: [PATCH] fix(nuxt): `name` is an optional prop for `` --- packages/nuxt/src/app/components/nuxt-layout.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/app/components/nuxt-layout.ts b/packages/nuxt/src/app/components/nuxt-layout.ts index b18cc84a38..af9b922034 100644 --- a/packages/nuxt/src/app/components/nuxt-layout.ts +++ b/packages/nuxt/src/app/components/nuxt-layout.ts @@ -77,7 +77,7 @@ export default defineComponent({ } } }) as unknown as DefineComponent<{ - name: unknown extends PageMeta['layout'] ? MaybeRef : PageMeta['layout'] + name?: unknown extends PageMeta['layout'] ? MaybeRef : PageMeta['layout'] }> const LayoutProvider = defineComponent({