UNPKG

react-native-nitro-wallet

Version:

A React Native package for interacting with Apple or Google Wallet

9 lines 501 B
import { Platform } from "react-native"; export declare const isIOS: boolean; export declare const isAndroid: boolean; export declare const PLATFORM_NOT_SUPPORTED_CODE = "PLATFORM_NOT_SUPPORTED"; export declare function platformNotSupported(methodName: string, platform: Platform["OS"]): Error & { code: typeof PLATFORM_NOT_SUPPORTED_CODE; }; export declare function iosOnly<A extends unknown[], R>(fn: (...args: A) => R, methodName: string): (...args: A) => R; //# sourceMappingURL=utils.d.ts.map