fixed typehint for EventDispatcher to use interface

n00b mistake