We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701703f commit acc072dCopy full SHA for acc072d
src/utils/object.ts
@@ -1,5 +1,10 @@
1
import snakeCaseKeys from 'snakecase-keys'
2
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
+ */
8
export const snakeCaseKeysUnicode = ((
9
input: any,
10
options?: snakeCaseKeys.Options,
0 commit comments