forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~TELLER/fineui:master to master * commit 'bc0eaa0d652fc1727ac99008eef9e67e171a0bd7': chore: 类型补充es6
Teller
4 years ago
3 changed files with 22 additions and 0 deletions
@ -0,0 +1,7 @@
|
||||
import { LayerController } from "../core/controller/controller.layer"; |
||||
import { BroadcastController } from "../core/controller/controller.broadcast"; |
||||
|
||||
export type Layers = LayerController; |
||||
|
||||
export type Broadcasts = BroadcastController; |
||||
|
@ -0,0 +1,9 @@
|
||||
import { Controller } from './controller'; |
||||
|
||||
export declare class BroadcastController extends Controller { |
||||
on(name: string, fn: Function): Function; |
||||
|
||||
send(name: string, ...args: any[]): void; |
||||
|
||||
remove(name: string, fn: Function): this; |
||||
} |
Loading…
Reference in new issue