##// END OF EJS Templates
Changed @djclass decorator to support legacy dojo versions (<1.15)
Changed @djclass decorator to support legacy dojo versions (<1.15)

File last commit:

r2:8ec37bf1b4d1 default
r11:5a2c44d8e1f3 v1.0.0-rc5 default
Show More
Evented.d.ts
16 lines | 475 B | video/mp2t | TypeScriptLexer
cin
created typings for basic part of dojo and dijit further work is required to...
r2 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;