Skip to content

Commit 932ece8

Browse files
committed
fix module error.
1 parent e2e553f commit 932ece8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/utils/capitalize.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
function capitalize(input: string): string {
1+
export function capitalize(input: string): string {
22
return input[0].toUpperCase() + input.substring(1);
33
}
4-
5-
module.exports = {
6-
capitalize
7-
};

0 commit comments

Comments
 (0)