Skip to content

Commit

Permalink
[web] Trivial fix for non-static interop JS interop class.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshualitt committed Dec 7, 2022
1 parent 8f6036e commit f3572d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/web_ui/lib/src/engine/js_interop/js_promise.dart
Expand Up @@ -9,6 +9,7 @@ import 'package:js/js.dart';

/// Type-safe JS Promises
@JS('Promise')
@staticInterop
abstract class Promise<T> {
/// A constructor for a JS promise
external factory Promise(PromiseExecutor<T> executor);
Expand Down

0 comments on commit f3572d2

Please sign in to comment.