(key: SystemConfigKey)
| 440 | |
| 441 | // 将蛇形的 key 转换为驼峰的函数名 |
| 442 | export function toCamelCase(key: SystemConfigKey) { |
| 443 | return key.replace(/^[a-z]|_([a-z])/g, (_, c = _) => c.toUpperCase()); |
| 444 | } |
| 445 | |
| 446 | export function cleanFileName(name: string): string { |
| 447 | // https://github.com/Tampermonkey/tampermonkey/issues/2413 |
no outgoing calls
no test coverage detected