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

[web] Trivial fix for non-static interop JS interop class. #38126

Merged
merged 1 commit into from
Dec 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/web_ui/lib/src/engine/js_interop/js_promise.dart
Original file line number Diff line number Diff line change
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