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 f5248c4 commit 2ae35a6Copy full SHA for 2ae35a6
src/index.js
@@ -56,7 +56,7 @@ function hash(value) {
56
return hasher.digest('hex');
57
}
58
59
-function dashToCamelCase(name: String) {
+function dashToCamelCase(name: string) {
60
return name.replace(/-([a-z])/g, word => word[1].toUpperCase());
61
62
0 commit comments