From efe4f1a3ef1679bfa2828bd5b63a494354864bc5 Mon Sep 17 00:00:00 2001 From: Yuji Sugiura Date: Thu, 12 May 2022 00:13:47 +0900 Subject: [PATCH] Fix GetStaticPathsOptions types (#3341) --- packages/astro/src/@types/astro.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 8a04f21e9..117a1e257 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -770,8 +770,8 @@ export type GetHydrateCallback = () => Promise< * getStaticPaths() options * Docs: https://docs.astro.build/reference/api-reference/#getstaticpaths */ export interface GetStaticPathsOptions { - paginate?: PaginateFunction; - rss?: (...args: any[]) => any; + paginate: PaginateFunction; + rss: (...args: any[]) => any; } export type GetStaticPathsItem = { params: Params; props?: Props };