From 059e4e30606922eafd46a74560d86ca29838aef1 Mon Sep 17 00:00:00 2001 From: VladimirAmiorkov Date: Thu, 5 Jul 2018 14:01:28 +0300 Subject: [PATCH] fix: Cast variable to correct ts type --- src/nativescript-fresco.android.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nativescript-fresco.android.ts b/src/nativescript-fresco.android.ts index 188bf3e..1809e43 100644 --- a/src/nativescript-fresco.android.ts +++ b/src/nativescript-fresco.android.ts @@ -333,11 +333,11 @@ export class FrescoDrawee extends commonModule.FrescoDrawee { if (that && that.get()) { let info = new ImageInfo(imageInfo); - let args: FinalEventData = { + let args = { eventName: commonModule.FrescoDrawee.finalImageSetEvent, object: that.get(), imageInfo: info, - animatable: animatable, + animatable: animatable, }; that.get().notify(args);