Installation
npm install --save @types/survicate__react-native-survicate
Summary
This package contains type definitions for @survicate/react-native-survicate (https://github.com/Survicate/react-native-survicate#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/survicate__react-native-survicate.
index.d.ts
declare namespace Survicate {
/**
* @deprecated Use `initializeSdk` instead. This method will be removed in version 4.0.
*/
function initialize(): void;
function initializeSdk(): void;
function invokeEvent(eventName: string): void;
function enterScreen(screenName: string): void;
function leaveScreen(screenName: string): void;
function setUserId(screenName: string): void;
function setUserTrait(traitName: string, traitValue: string): void;
function reset(): void;
}
export default Survicate;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Ian Mobley, and Pawel.