fix(server): make AppProps generic (#1449)
This commit is contained in:
+3
-1
@@ -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>>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user