We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d6defa commit 6da005dCopy full SHA for 6da005d
src/utils.ts
@@ -1,5 +1,5 @@
1
2
3
-export function capitalized(s: string) {
+export function capitalized(s: string): string {
4
return s.length > 1 ? s[0].toUpperCase() + s.slice(1) : s;
5
}
0 commit comments