Skip to content

Commit acc072d

Browse files
committed
docs: add comment
1 parent 701703f commit acc072d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/utils/object.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import snakeCaseKeys from 'snakecase-keys'
22

3+
/**
4+
* Wrapper around `snakecase-keys` that prevents it from stripping out non-ASCII keys.
5+
*
6+
* Note: no need to do this for `camelcase-keys`, it works fine.
7+
*/
38
export const snakeCaseKeysUnicode = ((
49
input: any,
510
options?: snakeCaseKeys.Options,

0 commit comments

Comments
 (0)