We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f64e3eb commit 13fd085Copy full SHA for 13fd085
src/Webapi/Dom/Webapi__Dom__CustomEvent.res
@@ -19,8 +19,9 @@ module Make = (
19
include Webapi__Dom__Event.Impl({
20
type t = t
21
})
22
+ type options = {detail: Detail.t}
23
24
@new external make: string => t = "CustomEvent"
- @new external makeWithOptions: (string, Detail.t) => t = "CustomEvent"
25
+ @new external makeWithOptions: (string, options) => t = "CustomEvent"
26
@get external detail: t => Detail.t = "detail"
27
}
0 commit comments