chore: improve importing of some packages (#647)

* chore: improve importing of some packages

* fix: not same version for all dependencies

* fix: lint and format issue
This commit is contained in:
Meier Lukas
2024-06-10 21:26:39 +02:00
committed by GitHub
parent c627384c4b
commit 9cab001451
23 changed files with 242 additions and 119 deletions

View File

@@ -38,6 +38,7 @@ export const widgetImports = {
export type WidgetImports = typeof widgetImports;
export type WidgetImportKey = keyof WidgetImports;
export type { WidgetComponentProps };
export type { WidgetDefinition } from "./definition";
const loadedComponents = new Map<WidgetKind, ComponentType<WidgetComponentProps<WidgetKind>>>();