From 965effab1470aa2d5abcec9397169260bc94d60f Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Tue, 26 Dec 2023 12:56:40 +0100 Subject: [PATCH] fix type --- ios/VideoCaching/RCTVideoCachingHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/VideoCaching/RCTVideoCachingHandler.swift b/ios/VideoCaching/RCTVideoCachingHandler.swift index 8ccc4aaae5..28b7d1283a 100644 --- a/ios/VideoCaching/RCTVideoCachingHandler.swift +++ b/ios/VideoCaching/RCTVideoCachingHandler.swift @@ -5,7 +5,7 @@ import Promises class RCTVideoCachingHandler: NSObject, DVAssetLoaderDelegatesDelegate { private var _videoCache: RCTVideoCache! = RCTVideoCache.sharedInstance() - var playerItemPrepareText: ((AVAsset?, NSDictionary?, String) -> AVPlayerItem)? + var playerItemPrepareText: ((AVAsset?, NSDictionary?, String) -> Promise)? override init() { super.init()