fix(server): make AppProps generic (#1449)

This commit is contained in:
Reed von Redwitz
2023-08-04 12:05:15 +02:00
committed by GitHub
parent 76f0f4a84a
commit 630f0a2322
4 changed files with 15 additions and 6 deletions
+3 -1
View File
@@ -162,7 +162,9 @@ export interface RouterState {
// --- APP ---
export interface AppProps extends PageProps {
// deno-lint-ignore no-explicit-any
export interface AppProps<T = any, S = Record<string, unknown>>
extends PageProps<T, S> {
Component: ComponentType<Record<never, never>>;
}