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