chore: 更新依赖
This commit is contained in:
@@ -95,5 +95,5 @@ export const makeCamelCase = function (name: string): string {
|
||||
if (typeof name !== 'string') {
|
||||
return '';
|
||||
}
|
||||
return name.replace(/-(\w)/g, ($0, $1) => $1.toUpperCase());
|
||||
return name.replace(/-(\w)/g, (_$0, $1) => $1.toUpperCase());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user