Skip to content

Commit c88053e

Browse files
committed
CR feedback
1 parent 4aade26 commit c88053e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

TS.fs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,9 @@ let DumpCreateEventOverloads (m: Browser.Method) =
110110
// Dump plurals. For example, "Events", "MutationEvents"
111111
let hasPlurals = ["Event"; "MutationEvent"; "MouseEvent"; "SVGZoomEvent"; "UIEvent"]
112112
for x in distinctETypeList do
113+
Pt.printl "createEvent(eventInterface:\"%s\"): %s;" x x
113114
if List.contains x hasPlurals then
114-
Pt.printl "createEvent(eventInterface:\"%s\"): %s;" x x
115115
Pt.printl "createEvent(eventInterface:\"%ss\"): %s;" x x
116-
else
117-
Pt.printl "createEvent(eventInterface:\"%s\"): %s;" x x
118116
Pt.printl "createEvent(eventInterface: string): Event;"
119117

120118
/// Generate the parameters string for function signatures

0 commit comments

Comments
 (0)