Eduard Kuzmenko
3 years ago
3 changed files with 3 additions and 3 deletions
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
export function convertInputKeyToKey<T extends string>(inputKey: string) { |
||||
export default function convertInputKeyToKey<T extends string>(inputKey: string) { |
||||
const str = inputKey.replace('input', ''); |
||||
return (str[0].toLowerCase() + str.slice(1)) as T; |
||||
} |
||||
|
Loading…
Reference in new issue