{"version":3,"sources":["../../../src/lib/capitalizeFirstLetter.ts"],"names":[],"mappings":";;;;;;AAaO,SAAS,sBAAsB,GAAa,EAAA;AAClD,EAAO,OAAA,GAAA,CAAI,OAAO,CAAC,CAAA,CAAE,aAAgB,GAAA,GAAA,CAAI,MAAM,CAAC,CAAA;AACjD;AAFgB,MAAA,CAAA,qBAAA,EAAA,uBAAA,CAAA","file":"capitalizeFirstLetter.cjs","sourcesContent":["/**\n * Transforms the first letter to a capital then adds all the rest after it\n *\n * This differs from {@link toTitleCase} in that it doesn't force lowercase on the rest of the string.\n *\n * @param str - Text to transform\n * @returns The input `str` as `Str`\n *\n * @example\n * ```ts\n * capitalizeFirstLetter('hello world') // 'Hello world'\n * ```\n */\nexport function capitalizeFirstLetter(str: string) {\n\treturn str.charAt(0).toUpperCase() + str.slice(1);\n}\n"]}