Skip to content

Commit 2ae35a6

Browse files
committed
fix: argument type
1 parent f5248c4 commit 2ae35a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function hash(value) {
5656
return hasher.digest('hex');
5757
}
5858

59-
function dashToCamelCase(name: String) {
59+
function dashToCamelCase(name: string) {
6060
return name.replace(/-([a-z])/g, word => word[1].toUpperCase());
6161
}
6262

0 commit comments

Comments
 (0)