From aa95d9e07388cfea8d824069a19844c79543b6a1 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 3 May 2024 01:14:33 +0530 Subject: [PATCH] update comment --- types/shared.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/shared.d.ts b/types/shared.d.ts index 6fdf919b..72597e43 100644 --- a/types/shared.d.ts +++ b/types/shared.d.ts @@ -7,7 +7,11 @@ export type Awaitable = T | PromiseLike export interface PageData { relativePath: string - filePath: string // differs from relativePath in case of path rewrites + /** + * differs from relativePath in case of path rewrites + * empty string if the page is virtual (e.g. 404 page) + */ + filePath: string title: string titleTemplate?: string | boolean description: string