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 babdbe4 commit 75fa5a5Copy full SHA for 75fa5a5
case-types-parser.ts
@@ -53,6 +53,10 @@ export function snakeCaseToCamelCase(str: string) {
53
.replace('_', '')
54
);
55
}
56
+export function camelCaseToWords(s: string) {
57
+ const result = s.replace(/([A-Z])/g, ' $1');
58
+ return result.charAt(0).toUpperCase() + result.slice(1);
59
+}
60
61
export function convertVarToCamel(obj: any) {
62
if (isDict(obj)) {
0 commit comments