From f0f3b060e92e220e362f13b2711931bcdcd30131 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 22 Aug 2023 17:55:01 +0200 Subject: [PATCH] JS: change type of MessageEvent.data back JSObject --- .../src/main/java/org/teavm/jso/dom/events/MessageEvent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();