Skip to content

Commit 059e4e3

Browse files
fix: Cast variable to correct ts type
1 parent 1e95b3f commit 059e4e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nativescript-fresco.android.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,11 @@ export class FrescoDrawee extends commonModule.FrescoDrawee {
333333
if (that && that.get()) {
334334
let info = new ImageInfo(imageInfo);
335335

336-
let args: FinalEventData = <FinalEventData>{
336+
let args = <FinalEventData>{
337337
eventName: commonModule.FrescoDrawee.finalImageSetEvent,
338338
object: that.get(),
339339
imageInfo: info,
340-
animatable: animatable,
340+
animatable: <commonModule.AnimatedImage>animatable,
341341
};
342342

343343
that.get().notify(args);

0 commit comments

Comments
 (0)