瀏覽代碼

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

Cédric Belin 3 年之前
父節點
當前提交
801dbc2418
共有 1 個文件被更改,包括 1 次插入0 次删除
  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. **/