@datadog/mobile-react-native
Version:
A client-side React Native module to interact with Datadog
7 lines • 350 B
TypeScript
/**
* Makes sure the long task threshold value is above 100 and below 5000.
* Also makes sure it is a number, passing `0` if it is `false`, as the React Native
* bridge cannot handle values with dual types.
*/
export declare const adaptLongTaskThreshold: (longTaskThreshold: number | false) => number;
//# sourceMappingURL=longTasksUtils.d.ts.map