We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bc7061 commit 410f3c2Copy full SHA for 410f3c2
jscomp/test/DotDotDot.res
@@ -5,3 +5,28 @@ type b = {dotdotdot: a, y: string}
5
type c = {dotdotdot: b, z: string}
6
7
let v: c = {x: 10, y: "", z: ""}
8
+
9
+type globalProps = {
10
+ id?: string,
11
+ name?: string,
12
+ title?: string,
13
+ className?: string,
14
+}
15
16
+type anchorProps = {
17
+ dotdotdot: globalProps,
18
+ download?: string,
19
+ href?: string,
20
+ target?: [#_self | #_blank | #_parent | #_top],
21
22
23
+// globalProps only case?
24
+type divProps = {
25
26
27
28
+type svgProps = {
29
30
+ x?: string,
31
+ y?: string,
32
0 commit comments