Fix GetStaticPathsOptions types (#3341)
This commit is contained in:
parent
352fc3166f
commit
efe4f1a3ef
1 changed files with 2 additions and 2 deletions
|
@ -770,8 +770,8 @@ export type GetHydrateCallback = () => Promise<
|
||||||
* getStaticPaths() options
|
* getStaticPaths() options
|
||||||
* Docs: https://docs.astro.build/reference/api-reference/#getstaticpaths
|
* Docs: https://docs.astro.build/reference/api-reference/#getstaticpaths
|
||||||
*/ export interface GetStaticPathsOptions {
|
*/ export interface GetStaticPathsOptions {
|
||||||
paginate?: PaginateFunction;
|
paginate: PaginateFunction;
|
||||||
rss?: (...args: any[]) => any;
|
rss: (...args: any[]) => any;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type GetStaticPathsItem = { params: Params; props?: Props };
|
export type GetStaticPathsItem = { params: Params; props?: Props };
|
||||||
|
|
Loading…
Reference in a new issue