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 4aade26 commit c88053eCopy full SHA for c88053e
TS.fs
@@ -110,11 +110,9 @@ let DumpCreateEventOverloads (m: Browser.Method) =
110
// Dump plurals. For example, "Events", "MutationEvents"
111
let hasPlurals = ["Event"; "MutationEvent"; "MouseEvent"; "SVGZoomEvent"; "UIEvent"]
112
for x in distinctETypeList do
113
+ Pt.printl "createEvent(eventInterface:\"%s\"): %s;" x x
114
if List.contains x hasPlurals then
- Pt.printl "createEvent(eventInterface:\"%s\"): %s;" x x
115
Pt.printl "createEvent(eventInterface:\"%ss\"): %s;" x x
116
- else
117
118
Pt.printl "createEvent(eventInterface: string): Event;"
119
120
/// Generate the parameters string for function signatures
0 commit comments