diff --git a/packages/types/app/index.d.ts b/packages/types/app/index.d.ts index e645df137c..677d005bac 100644 --- a/packages/types/app/index.d.ts +++ b/packages/types/app/index.d.ts @@ -87,6 +87,8 @@ export interface Context { error(params: NuxtError): void nuxtState: NuxtState beforeNuxtRender(fn: (params: { Components: VueRouter['getMatchedComponents'], nuxtState: NuxtState }) => void): void + enablePreview?: (previewData?: Record) => void + $preview?: Record } // eslint-disable-next-line @typescript-eslint/ban-types