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 6b9d6b8 commit a9adc17Copy full SHA for a9adc17
jscomp/gentype/TranslateStructure.ml
@@ -11,8 +11,7 @@ let rec addAnnotationsToTypes_ ~config ~(expr : Typedtree.expression)
11
let aName =
12
if aName = "*opt*" then
13
match arg_label with
14
- | Optional l ->
15
- l
+ | Optional l -> l
16
| _ -> "" (* should not happen *)
17
else aName
18
in
@@ -56,6 +55,7 @@ and addAnnotationsToFields ~config (expr : Typedtree.expression)
56
55
57
({field with nameJS = name} :: nextFields1, types1)
58
| _ -> (fields, argTypes)
+ [@@live]
59
60
(** Recover from expr the renaming annotations on named arguments. *)
61
let addAnnotationsToFunctionType ~config (expr : Typedtree.expression)
0 commit comments