This type is not correct. It is actually an CompositionEvent (http://devdocs.io/dom/compositionevent).