🐛 修复部分 eslint 报错

This commit is contained in:
BTMuli
2023-06-25 16:57:55 +08:00
parent 7567bba147
commit 9f9a1de09f
11 changed files with 48 additions and 37 deletions

View File

@@ -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;