(str: string)
| 117 | } |
| 118 | |
| 119 | export function snakeToCamel(str: string): string { |
| 120 | return str.replace(/(_\w)/g, function (m: string): string { |
| 121 | return m[1].toUpperCase(); |
| 122 | }); |
| 123 | } |
| 124 | |
| 125 | export function getJsonMIMEType<inObj>( |
| 126 | inputDict: Record<string, inObj> | undefined | null, |