Browse Source

[js] Fixes the `BeforeInstallPromptEvent` externs (#10632)

Cédric Belin 3 năm trước cách đây
mục cha
commit
801dbc2418
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      std/js/html/BeforeInstallPromptEvent.hx

+ 1 - 0
std/js/html/BeforeInstallPromptEvent.hx

@@ -8,6 +8,7 @@ import js.lib.Promise;
 
 	@see https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent
 **/
+@:native("BeforeInstallPromptEvent")
 extern class BeforeInstallPromptEvent extends Event {
 
 	/** The platforms on which this event was dispatched. **/