@@ -125,13 +125,13 @@ type t = (
125
125
type t = (@attr string, @attr float) => unit
126
126
type t = (@attr @attr2 string, @attr @attr2 float, @attr3 int) => unit
127
127
128
- type t = @attr string => unit
128
+ type t = @attr ( string => unit)
129
129
type t = @attr (foo, bar, baz) => unit
130
130
type t = @attr (foo, @attr2 ~f: bar, @attr3 ~f: baz) => unit
131
131
132
- type t = @attr string => @attr int => unit
132
+ type t = @attr ( string => @attr ( int => unit))
133
133
type t = @attr (string, int) => @attr (int, float) => unit
134
- type t = @attr int => @attr (int, float) => @attr unit => unit => unit
134
+ type t = @attr ( int => @attr (int, float) => @attr ( unit => unit => unit))
135
135
type t = @attr (@attr2 ~f: int, @attr3 ~g: float) => unit
136
136
137
137
type f = (
@@ -144,50 +144,50 @@ type f = (
144
144
@attr3 ~h: ccccrazysldkfjslkdjflksdjkf=?,
145
145
) => unit
146
146
147
- type t = @attr
148
- stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr2
149
- floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr3
150
- intWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => unitWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
147
+ type t = @attr (
148
+ stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr2 (
149
+ floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr3 (
150
+ intWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => unitWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
151
+ )
152
+ )
153
+ )
151
154
152
- type t = @attr
153
- (
155
+ type t = @attr (
154
156
fooWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
155
157
barWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
156
158
bazWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
157
- ) => @attr2
158
- (
159
+ ) => @attr2 (
159
160
stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
160
161
floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
161
162
) => unit
162
163
163
164
type t = @attr
164
165
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
165
- @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
166
- (
166
+ @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong (
167
167
fooWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
168
168
barWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
169
169
bazWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
170
170
) => @attr2
171
171
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
172
- @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
173
- (
172
+ @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong (
174
173
stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
175
174
floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
176
175
) => unit
177
176
178
177
external debounce: (int, @meth unit) => unit = "debounce"
179
178
180
- external debounce: int => @meth unit => unit = "debounce"
179
+ external debounce: int => @meth ( unit => unit) = "debounce"
181
180
182
- external debounce: (int, @meth unit => unit) => @meth unit => unit = "debounce"
181
+ external debounce: (int, @meth ( unit => unit)) => @meth ( unit => unit) = "debounce"
183
182
184
- external debounce: (int, @meth unit => unit, @meth unit => unit) => @meth unit => unit = "debounce"
183
+ external debounce: (int, @meth (unit => unit), @meth (unit => unit)) => @meth (unit => unit) =
184
+ "debounce"
185
185
186
186
external debounce: (
187
187
int,
188
- @meth unit => unit,
189
- @meth unit => @meth unit => unit,
190
- ) => @meth unit => unit = "debounce"
188
+ @meth ( unit => unit) ,
189
+ @meth ( unit => @meth ( unit => unit)) ,
190
+ ) => @meth ( unit => unit) = "debounce"
191
191
192
192
type returnTyp = (int, int) => @magic float
193
193
type returnTyp = (
@@ -214,7 +214,7 @@ type t = (@attrOnInt int, @attrOnInt int, @attrOnInt int, @attrOnInt int) => int
214
214
type t = (@attr ~x: int, ~y: int, @attr ~z: int, @attr ~omega: int) => unit
215
215
216
216
@val external requestAnimationFrame: (float => unit) => unit = "requestAnimationFrame"
217
- @val external requestAnimationFrame: @attr (float => unit) => unit = "requestAnimationFrame"
217
+ @val external requestAnimationFrame: @attr (( float => unit) => unit) = "requestAnimationFrame"
218
218
219
219
type arrows = (int, (float => unit) => unit, float) => unit
220
220
0 commit comments