iapyang
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