From b18d50dfbda2a2ea2e4a7b769b26087a0d071e63 Mon Sep 17 00:00:00 2001 From: Chris Leung Date: Thu, 22 Aug 2024 16:20:09 +0800 Subject: [PATCH] Resolve type issue --- react-native-hms-availability/src/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react-native-hms-availability/src/index.d.ts b/react-native-hms-availability/src/index.d.ts index 0102aea5..8a782a25 100644 --- a/react-native-hms-availability/src/index.d.ts +++ b/react-native-hms-availability/src/index.d.ts @@ -36,7 +36,7 @@ declare module "@hmscore/react-native-hms-availability" { 'HuaweiPush.API': number } - export class HMSAvailability{ + const HMSAvailability: { /** * Obtains the API verssion number of each service. @@ -110,4 +110,5 @@ declare module "@hmscore/react-native-hms-availability" { } + export default HMSAvailability; } \ No newline at end of file