Skip to content

Commit

Permalink
Adding deprecated jsdoc for camelCaseKeys.camelCaseKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenGremlin committed Sep 29, 2020
1 parent e24f2c9 commit 0a453f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ export const getFlattenedFlagsFromChangeset = (
return flattened;
};

// TODO: Remove this for the next major version. This was added to maintain backwards compatibility.
/**
* @deprecated The `camelCaseKeys.camelCaseKeys` property will be removed in a future version,
* please update your code to use the `camelCaseKeys` function directly.
*/
// tslint:disable-next-line deprecation
camelCaseKeys.camelCaseKeys = camelCaseKeys;

export default { camelCaseKeys, getFlattenedFlagsFromChangeset };

0 comments on commit 0a453f3

Please sign in to comment.