Browse Source

refactor: 改下描述

es6
Kira 4 years ago
parent
commit
9cd399a67f
  1. 2
      typescript/core/plugin.ts

2
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

Loading…
Cancel
Save