From 85ae41925b417c8593f350775ebbdbd1e1069d19 Mon Sep 17 00:00:00 2001 From: Ethan Neff Date: Wed, 7 Jan 2026 12:29:15 -0800 Subject: [PATCH] Clean up ambient declarations in index.d.ts Removed explicit ambient declarations for ESLint compatibility. --- index.d.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/index.d.ts b/index.d.ts index c62d4689..3850d005 100644 --- a/index.d.ts +++ b/index.d.ts @@ -415,14 +415,3 @@ declare module "react-native-appsflyer" { export default appsFlyer; } - -// Explicit ambient declarations for ESLint compatibility -// ESLint's import resolver doesn't recognize exports inside 'declare module' blocks. -// These top-level declarations allow ESLint to detect the exports. -declare const StoreKitVersion: { readonly SK1: "SK1"; readonly SK2: "SK2" }; -declare const AppsFlyerPurchaseConnector: any; // Type is defined in declare module above -declare const AppsFlyerPurchaseConnectorConfig: any; // Type is defined in declare module above -declare const appsFlyer: any; // Type is defined in declare module above - -export { StoreKitVersion, AppsFlyerPurchaseConnector, AppsFlyerPurchaseConnectorConfig }; -export { appsFlyer as default };