Files
evento/node_modules/kysely/dist/esm/plugin/camel-case/camel-case.d.ts
2026-03-18 14:55:56 -03:00

16 lines
622 B
TypeScript

export type StringMapper = (str: string) => string;
/**
* Creates a function that transforms camel case strings to snake case.
*/
export declare function createSnakeCaseMapper({ upperCase, underscoreBeforeDigits, underscoreBetweenUppercaseLetters, }?: {
upperCase?: boolean | undefined;
underscoreBeforeDigits?: boolean | undefined;
underscoreBetweenUppercaseLetters?: boolean | undefined;
}): StringMapper;
/**
* Creates a function that transforms snake case strings to camel case.
*/
export declare function createCamelCaseMapper({ upperCase, }?: {
upperCase?: boolean | undefined;
}): StringMapper;