fixed declaration of d3.Event interface

- added 'type' member into d3.Event interface