mirror of
https://github.com/khairul169/code-share.git
synced 2025-04-29 00:59:37 +07:00
23 lines
411 B
TypeScript
23 lines
411 B
TypeScript
import type { Request } from "express";
|
|
|
|
declare global {
|
|
namespace Vike {
|
|
interface PageContext {
|
|
Page: () => React.ReactElement;
|
|
data?: {
|
|
title?: string;
|
|
description?: string;
|
|
};
|
|
config: {
|
|
title?: string;
|
|
description?: string;
|
|
};
|
|
abortReason?: string;
|
|
req: Request;
|
|
cookies: Record<string, string>;
|
|
}
|
|
}
|
|
}
|
|
|
|
export {};
|