Convert a string literal to snake-case.
This can be useful when, for example, converting a camel-cased object property to a snake-cased SQL column name.
Signature:
export declare type SnakeCase<Value> = DelimiterCase<Value, '_'>;
References: DelimiterCase
``` import {SnakeCase} from ‘type-fest’;
// Simple
const someVariable: SnakeCase<‘fooBar’> = ‘foo_bar’;
// Advanced
type SnakeCasedProperties
interface ModelProps { isHappy: boolean; fullFamilyName: string; foo: number; }
const dbResult: SnakeCasedProperties
Template Literals