UNPKG
@sebgroup/frontend-tools
Version:
latest (2.2.2)
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.0.0-semantically-released
A set of frontend tools
github.com/sebgroup/frontend-tools
sebgroup/frontend-tools
@sebgroup/frontend-tools
/
esm
/
capitalize
/
capitalize.d.ts
7 lines
(6 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Capitalizes a string word. It doesn't capitalize a sentence, only the first letter. *
@param
{string} str The string needed to be capitalized *
@returns
{string} The capitalized string */
export
declare
function
capitalize
(
str:
string
):
string
;