@@ -96,7 +96,7 @@ trait AnimatedEndResult extends js.Object {
96
96
trait CompositeAnimation extends js.Object {
97
97
def stop (): Unit = js.native
98
98
99
- def start (callback : AnimatedEndResult => _ = ??? ): Unit = js.native
99
+ def start (callback : js. Function1 [ AnimatedEndResult , Any ] = ??? ): Unit = js.native
100
100
}
101
101
102
102
trait AnimatedConfig extends js.Object {
@@ -148,18 +148,18 @@ class AnimatedValue(value: Double) extends js.Object {
148
148
149
149
def extractOffset (): Unit = js.native
150
150
151
- def addListener (callback : js.Dynamic => _ ): String = js.native
151
+ def addListener (callback : js.Function1 [js. Dynamic , Any ] ): String = js.native
152
152
153
153
def removeListener (id : String ): Unit = js.native
154
154
155
155
def removeAllListeners (): Unit = js.native
156
156
157
- def stopAnimation (callback : js.Dynamic => _ = ??? ): Unit = js.native
157
+ def stopAnimation (callback : js.Function1 [js. Dynamic , Any ] = ??? ): Unit = js.native
158
158
159
159
def interpolate (config : AnimatedInterpolationConfig ): AnimatedInterpolation =
160
160
js.native
161
161
162
- def animate (animation : Animation , callback : js.Dynamic => _ ): Unit =
162
+ def animate (animation : Animation , callback : js.Function1 [js. Dynamic , Any ] ): Unit =
163
163
js.native
164
164
165
165
def stopTracking (): Unit = js.native
@@ -185,9 +185,9 @@ class AnimatedValueXY(valueIn: AnimatedValueXYValue = ???) extends js.Object {
185
185
186
186
def removeAllListeners (): Unit = js.native
187
187
188
- def stopAnimation (callback : XYValueLiteral => _ = ??? ): Unit = js.native
188
+ def stopAnimation (callback : js. Function1 [ XYValueLiteral , Any ] = ??? ): Unit = js.native
189
189
190
- def addListener (callback : XYValueLiteral => _ ): String = js.native
190
+ def addListener (callback : js. Function1 [ XYValueLiteral , Any ] ): String = js.native
191
191
192
192
def removeListener (id : String ): Unit = js.native
193
193
0 commit comments