From f3572d213f916b1412f805220062f560f77034ef Mon Sep 17 00:00:00 2001 From: Joshua Litt Date: Wed, 7 Dec 2022 18:06:29 +0000 Subject: [PATCH] [web] Trivial fix for non-static interop JS interop class. --- lib/web_ui/lib/src/engine/js_interop/js_promise.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/web_ui/lib/src/engine/js_interop/js_promise.dart b/lib/web_ui/lib/src/engine/js_interop/js_promise.dart index 13327158aeea8..45f3f3b3482da 100644 --- a/lib/web_ui/lib/src/engine/js_interop/js_promise.dart +++ b/lib/web_ui/lib/src/engine/js_interop/js_promise.dart @@ -9,6 +9,7 @@ import 'package:js/js.dart'; /// Type-safe JS Promises @JS('Promise') +@staticInterop abstract class Promise { /// A constructor for a JS promise external factory Promise(PromiseExecutor executor);