mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 修复部分 eslint 报错
This commit is contained in:
@@ -18,7 +18,7 @@ import { transCookie, transParams } from "./tools";
|
||||
* @param {string} saltType salt 类型
|
||||
* @returns {string} salt
|
||||
*/
|
||||
function getSalt(saltType: string) {
|
||||
function getSalt(saltType: string): string {
|
||||
switch (saltType) {
|
||||
case "common":
|
||||
return TGConstant.Salt.Other.X4;
|
||||
|
||||
Reference in New Issue
Block a user