Skip to content

Commit 85ae419

Browse files
authored
Clean up ambient declarations in index.d.ts
Removed explicit ambient declarations for ESLint compatibility.
1 parent 9cc0218 commit 85ae419

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

index.d.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -415,14 +415,3 @@ declare module "react-native-appsflyer" {
415415

416416
export default appsFlyer;
417417
}
418-
419-
// Explicit ambient declarations for ESLint compatibility
420-
// ESLint's import resolver doesn't recognize exports inside 'declare module' blocks.
421-
// These top-level declarations allow ESLint to detect the exports.
422-
declare const StoreKitVersion: { readonly SK1: "SK1"; readonly SK2: "SK2" };
423-
declare const AppsFlyerPurchaseConnector: any; // Type is defined in declare module above
424-
declare const AppsFlyerPurchaseConnectorConfig: any; // Type is defined in declare module above
425-
declare const appsFlyer: any; // Type is defined in declare module above
426-
427-
export { StoreKitVersion, AppsFlyerPurchaseConnector, AppsFlyerPurchaseConnectorConfig };
428-
export { appsFlyer as default };

0 commit comments

Comments
 (0)