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 e2e553f commit 932ece8Copy full SHA for 932ece8
src/utils/capitalize.ts
@@ -1,7 +1,3 @@
1
-function capitalize(input: string): string {
+export function capitalize(input: string): string {
2
return input[0].toUpperCase() + input.substring(1);
3
}
4
-
5
-module.exports = {
6
- capitalize
7
-};
0 commit comments