diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/events/MessageEvent.java b/jso/apis/src/main/java/org/teavm/jso/dom/events/MessageEvent.java index 64715f67e..271f9b24a 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/events/MessageEvent.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/events/MessageEvent.java @@ -15,12 +15,13 @@ */ package org.teavm.jso.dom.events; +import org.teavm.jso.JSObject; import org.teavm.jso.JSProperty; import org.teavm.jso.typedarrays.ArrayBuffer; public interface MessageEvent extends Event { @JSProperty - Object getData(); + JSObject getData(); @JSProperty("data") String getDataAsString();