UNPKG

@prass/botpress-native

Version:

A simple and powerful SDK for integrating Botpress Chat API with React Native,

11 lines (10 loc) 369 B
type PlainObject = Record<string, any>; /** * Cleans an object by removing null, undefined, and empty string values. * - Recursively removes empty objects and cleans arrays. * * @param data - The input object to clean. * @returns A JSON string of the cleaned object. */ export declare const prepareData: <T extends PlainObject>(data: T) => Partial<T>; export {};