@fivem-ts/shared
Version:
FiveM Typescript wrapper shared part
15 lines (14 loc) • 384 B
TypeScript
/**
* Capitalizes the first letter of a string.
*
* @example
* ```ts
* const result = capitalizeFirstLetter("hello");
* console.log(result); // "Hello"
* ```
*
* @param {string} input - The string to capitalize the first letter of.
*
* @return {string} The string with its first letter capitalized.
*/
export declare function capitalizeFirstLetter(input: string): string;