##// END OF EJS Templates
Added tag v1.0.0-rc13 for changeset b88fac0e76c0
Added tag v1.0.0-rc13 for changeset b88fac0e76c0

File last commit:

r2:8ec37bf1b4d1 default
r29:4ee49203288d default
Show More
Evented.d.ts
16 lines | 475 B | video/mp2t | TypeScriptLexer
import { Handle } from "./interfaces";
import { DeclareConstructor } from "./_base/declare";
import { ExtensionEvent } from "./on";
interface Evented {
on(type: string | ExtensionEvent, listener: EventListener | Function): Handle;
emit(type: string | ExtensionEvent, ...events: any[]): boolean;
}
interface EventedConstructor extends DeclareConstructor<Evented> {
new (params?: Object): Evented;
}
declare const Evented: EventedConstructor;
export = Evented;