questions/19458-hard-snakecase/README.md
Create a SnakeCase<T> generic that turns a string formatted in camelCase into a string formatted in snake_case.
A few examples:
type res1 = SnakeCase<"hello">; // => "hello"
type res2 = SnakeCase<"userName">; // => "user_name"
type res3 = SnakeCase<"getElementById">; // => "get_element_by_id"
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/19458/answer" target="_blank"></a> <a href="https://tsch.js.org/19458/solutions" target="_blank"></a> <!--info-footer-end-->