fix: island module type in manifest (#2101)
This commit is contained in:
@@ -300,7 +300,8 @@ export async function extractRoutes(
|
|||||||
id,
|
id,
|
||||||
name,
|
name,
|
||||||
url: processedIsland.path,
|
url: processedIsland.path,
|
||||||
component: exportedFunction,
|
// deno-lint-ignore no-explicit-any
|
||||||
|
component: exportedFunction as ComponentType<any>,
|
||||||
exportName,
|
exportName,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -537,7 +537,7 @@ export interface Middleware<State = Record<string, unknown>> {
|
|||||||
|
|
||||||
export interface IslandModule {
|
export interface IslandModule {
|
||||||
// deno-lint-ignore no-explicit-any
|
// deno-lint-ignore no-explicit-any
|
||||||
[key: string]: ComponentType<any>;
|
[key: string]: ComponentType<any> | unknown;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Island {
|
export interface Island {
|
||||||
|
|||||||
Reference in New Issue
Block a user