Add d.ts file to have more readable way of a module definition and to be able to inherite EventDespatcher.