UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

9 lines (8 loc) 344 B
/** * upperCaseFirstCharacter * @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 upperCaseFirstCharacter: ([firstLetter, ...restOfWord]: string) => string;