From a52d18dce2e5ee4956b77ad3205b8411e6d333e1 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Fri, 14 Mar 2025 11:52:51 +0800 Subject: [PATCH] fix type error --- src/client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.ts b/src/client.ts index 1099b2b..fd84c4b 100644 --- a/src/client.ts +++ b/src/client.ts @@ -354,6 +354,7 @@ export class Pushy { return; } if (onDownloadProgress) { + // @ts-expect-error harmony not in existing platforms if (Platform.OS === 'harmony') { Pushy.progressHandlers[hash] = DeviceEventEmitter.addListener( 'RCTPushyDownloadProgress',