@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
9 lines (8 loc) • 344 B
TypeScript
/**
* lowerCaseFirstCharacter
* @scope custom implementation should only be used within `name path to ...` transformer
* @description changes first letter to uppercase but keeps the rest of the word as is
* @param string
* @returns string
*/
export declare const lowerCaseFirstCharacter: ([firstLetter, ...restOfWord]: string) => string;