style: Remove unnecessary comment and fix type in interface

This commit is contained in:
Gauthier Daniels 2025-04-18 13:24:00 +02:00
parent 86409da7ec
commit 0893e6d2f0
2 changed files with 3 additions and 3 deletions

View File

@ -18,13 +18,13 @@ const root = __dirname;
declare global { declare global {
namespace Vike { namespace Vike {
interface PageContext { interface PageContext {
cookies: Partial<{ cookies: {
consent: { consent: {
analytics: boolean; analytics: boolean;
customization: boolean; customization: boolean;
}; };
theme: Theme; theme: Theme;
}>; };
} }
} }
} }

View File

@ -25,7 +25,7 @@ export default {
image: "/og.webp", image: "/og.webp",
// prerender: true, passToClient: ["cookies"],
prefetchStaticAssets: "hover", prefetchStaticAssets: "hover",
extends: vikeReact, extends: vikeReact,