chore: add a default type for render data (#90)

This commit is contained in:
Leo Kettmeir
2022-02-14 16:30:54 +01:00
committed by GitHub
parent 788a85c431
commit 64fbcabf67
+3 -1
View File
@@ -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. */
url: URL;