@wazespace/wme-react-components
Version:
A package with useful replications of the Waze Map Editor components to use in userscripts
6 lines • 454 B
TypeScript
export type DashToPascal<S extends string> = S extends `${infer First}-${infer Rest}` ? `${Capitalize<First>}${DashToPascal<Rest>}` : Capitalize<S>;
export declare function dashToPascalCase(value: string): string;
export declare function camelToDashCase(value: string): string;
export declare function camelToPascalCase(value: string): string;
export declare function pascalToDashCase(value: string): string;
//# sourceMappingURL=case-converters.d.ts.map