UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

9 lines (8 loc) 423 B
export { execHookGuard }; import { type PageContextExecHook } from '../hooks/execHook.js'; import type { GlobalContextInternal } from '../createGlobalContextShared.js'; declare function execHookGuard<PageContext extends { pageId: string; } & { _globalContext: GlobalContextInternal; } & PageContextExecHook>(pageContext: PageContext, prepareForPublicUsage: (pageConfig: PageContext) => PageContext): Promise<void>;