From 2680e16f948be620dbb147977d5523b57caddcf2 Mon Sep 17 00:00:00 2001 From: Matt Reynolds Date: Thu, 10 Oct 2024 15:15:35 -0700 Subject: [PATCH] Make eventInitDict param optional in GamepadEvent constructor Closes #216 --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6376806..a5d074a 100644 --- a/index.html +++ b/index.html @@ -1752,7 +1752,7 @@

[Exposed=Window] interface GamepadEvent: Event { - constructor(DOMString type, GamepadEventInit eventInitDict); + constructor(DOMString type, optional GamepadEventInit eventInitDict); [SameObject] readonly attribute Gamepad gamepad; };