Browse Source

Pull request #3569: update

Merge in VISUAL/fineui from ~DAILER/fineui:es6 to es6

* commit 'e72f837464b0a4a77cd6bb5e993a4273a733600d':
  update
es6
Dailer-刘荣歆 2 years ago
parent
commit
53d7c7ad56
  1. 8
      packages/fineui/typescript/core/plugin.ts

8
packages/fineui/typescript/core/plugin.ts

@ -3,8 +3,10 @@ import { Widget } from "./widget";
type configWidgetFn = (type: string, options: Obj) => void type configWidgetFn = (type: string, options: Obj) => void
type configObjectFn = (type: string, widget: Widget) => void type configObjectFn = (type: string, widget: Widget) => void
export declare function config(widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]): void export declare namespace Plugin {
function config(widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]): void
export declare function configWidget(shortcut: string, widgetFunction: configWidgetFn): void function configWidget(shortcut: string, widgetFunction: configWidgetFn): void
export declare function registerObject(shortcut: string, objectFunction: configObjectFn): void function registerObject(shortcut: string, objectFunction: configObjectFn): void
}

Loading…
Cancel
Save