Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 19d2a78

Browse files
committed
[web] Trivial fix for non-static interop JS interop class.
1 parent 37e2aaa commit 19d2a78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/web_ui/lib/src/engine/js_interop/js_promise.dart

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import 'package:js/js.dart';
99

1010
/// Type-safe JS Promises
1111
@JS('Promise')
12+
@staticInterop
1213
abstract class Promise<T> {
1314
/// A constructor for a JS promise
1415
external factory Promise(PromiseExecutor<T> executor);

0 commit comments

Comments
 (0)