All files react-native.d.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25                                                 
import type { Tags, VisitorId, NativeVisitorData } from './types'
 
declare module 'react-native' {
  interface RNFingerprintjsPro {
    configure: (
      apiKey: string,
      region?: string,
      endpointUrl?: string,
      fallbackEndpointUrls?: string[],
      extendedResponseFormat: boolean,
      packageVersion: string,
      allowUseOfLocationData: boolean,
      locationTimeoutMillisAndroid: number
    ) => void
    getVisitorId: (tags?: Tags, linkedId?: string) => Promise<VisitorId>
    getVisitorIdWithTimeout: (tags?: Tags, linkedId?: string, timeout: number) => Promise<VisitorId>
    getVisitorData: (tags?: Tags, linkedId?: string) => Promise<NativeVisitorData>
    getVisitorDataWithTimeout: (tags?: Tags, linkedId?: string, timeout: number) => Promise<NativeVisitorData>
  }
 
  export interface NativeModulesStatic {
    RNFingerprintjsPro: RNFingerprintjsPro
  }
}