chore: add a default type for render data (#90)
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
export interface PageProps<T extends Record<string, unknown>> {
|
export interface PageProps<
|
||||||
|
T extends Record<string, unknown> = Record<never, never>,
|
||||||
|
> {
|
||||||
/** The URL of the request that resulted in this page being rendered. */
|
/** The URL of the request that resulted in this page being rendered. */
|
||||||
url: URL;
|
url: URL;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user