diff --git a/typescript/core/plugin.ts b/typescript/core/plugin.ts index 53cca49a7..83c1176fb 100644 --- a/typescript/core/plugin.ts +++ b/typescript/core/plugin.ts @@ -1,6 +1,6 @@ import { _Widget } from "./widget"; -type configWidgetFn = (type: string, options: object) => object +type configWidgetFn = (type: string, options: Obj) => void type configObjectFn = (type: string, widget: _Widget) => void export type _config = (widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]) => void