From 9cd399a67f181338b36e3d59d58444344fbb4f60 Mon Sep 17 00:00:00 2001 From: Kira Date: Mon, 26 Oct 2020 15:04:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=94=B9=E4=B8=8B=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/plugin.ts b/typescript/core/plugin.ts index 53cca49a79..83c1176fba 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