launchdarkly-react-client-sdk
Version:
LaunchDarkly SDK for React
14 lines (13 loc) • 491 B
TypeScript
import { LDFlagSet } from 'launchdarkly-js-client-sdk';
/**
* Transforms a set of flags so that their keys are camelCased. This function ignores
* flag keys which start with `$`.
*
* @param rawFlags A mapping of flag keys and their values
* @return A transformed `LDFlagSet` with camelCased flag keys
*/
export declare const camelCaseKeys: (rawFlags: LDFlagSet) => LDFlagSet;
declare const _default: {
camelCaseKeys: (rawFlags: LDFlagSet) => LDFlagSet;
};
export default _default;